| 40 | * Solr Configuration and Schema changes |
| 41 | * I have attached an installation script for installing all the dependencies and the solr configuration. |
| 42 | * You can also install manually. |
| 43 | * These are the following dependencies you would need to install: |
| 44 | * Antiword |
| 45 | * Pdfminer |
| 46 | * Pyth |
| 47 | * Httplib2 |
| 48 | * libxml2, lxml> 3.0 |
| 49 | * After installing all these dependencies, we would need to changed the solr config file, solr-4.3.x/example/solr/collection1/conf/solrconfig.xml |
| 50 | * Change the directory path, where you want to store all the indexes. This can be stored anywhere, but better to keep in the eden directory. For example, as mentioned in installation script: |
| 51 | {{{ |
| 52 | <dataDir>/home/<user>/web2py/applications/eden/indices</dataDir> |
| 53 | }}} |
| 54 | * You can also change this path according to you suitability, like if solr is on another machine, then the directory path would be different. |
| 55 | * Now, we will discuss the schema changes - |