- What is Serial Version UID : The serialVersionUIDis used as a version control in Serializable class. If you do not explicitly declare a serialVersionUID, JVM will does it for you automatically, based on various aspects of your Serializable class, as describe in the Java(TM) Object Serialization Specification.
- other definition : http://www.mkyong.com/java-best-practices/understand-the-serialversionuid/
- Lucene Index: before completing the Searching Index function : steps - TODO : try building an index on experimental DB (Joeri)
- * TODO : check if the index has been created, one way is to create a boolean value , or check if the index directory contains an index .
- currently works with boolean , later check the directory . The index may have been created in a previous run . We should find a way to figure out if it is the index we want to search . Like build in the correct database table.
- Is it defined inside the index? but how to search inside teh index ...Do not use vi ! :
- * TODO : check if the index has been created, one way is to create a boolean value , or check if the index directory contains an index .
- Use Luke : Lucene Index Toolbox : http://www.getopt.org/luke/
- Java Web Start version: launch Luke now.
- or .. http://code.google.com/p/luke/
- downloaded , tried to open the index created by molgenis : Error : Incompatible format version: 2 expected 1 or lower
- We need the newer version of Luke .: http://luke.googlecode.com/files/lukeall-1.0.1.jar
- ok index successfully opened.
- Need also :
- Again, remember to put at least the three required JARs on your classpath, e.g.: java -classpath luke.jar;lucene.jar;lucene-misc.jar org.getopt.luke.Luke (in ~/.profile)
- ok , analyzers founds. Now test a search on our iindex....
- Continue LuceneSearchPlugin?.java in molgenis :
- (from http://www.jpgtutorials.com/lucene-full-text-search-in-java)
- There is a change you should make to make it work:
- parser = new QueryParser(Version.LUCENE_CURRENT, "fulltext", analyzer);
- instead of parser = new QueryParser("fulltext", analyzer);
- Search ok !
- Continue LuceneSearchPlugin?.java in molgenis :
- Other misc reading :
- Misc Links :
- An alternative literature search for Pubmed :
Last modified 14 years ago
Last modified on 2010-10-01T23:19:13+02:00