| 1 | * Add input to insert the token that will be searched in Lucene Index created by the function : !LuceneSearchPlugin.[wiki:CreateLuceneIndex] calling class createIndex . |
| 2 | * Transform createIndex constructor in order to omit the open mysql connection part. Use Molgenis functions. |
| 3 | |
| 4 | === How is Lucene index build === |
| 5 | * StandardAnalyzer: |
| 6 | * Index Writer : |
| 7 | * Connect to db & retrieve desired fields that you want to include in the index. |
| 8 | |
| 9 | Create a new document and add to the document the retrieved fields (without the id) |
| 10 | |
| 11 | * Optimize index: |
| 12 | |
| 13 | [http://www.jpgtutorials.com/lucene-full-text-search-in-java for more info .....] |
| 14 | |
| 15 | buildIndex() in hvp_pilot2 successfully created Lucene index |