| | 1 | * What is Serial Version UID : [http://www.mkyong.com/java-best-practices/understand-the-serialversionuid/ The serialVersionUID]is 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 [http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html Java(TM) Object Serialization Specification]. |
| | 2 | * other definition : http://www.mkyong.com/java-best-practices/understand-the-serialversionuid/ |
| | 3 | * '''Lucene Index: '''before completing the Searching Index function : [http://gbic.target.rug.nl/trac/pheno/wiki/DespoinaLog/2010/04/29 steps] - TODO : try building an index on experimental DB (Joeri) |
| | 4 | * * 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 . |
| | 5 | * 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. |
| | 6 | * Is it defined inside the index? but how to search inside teh index ...Do not use vi ! : |
| | 7 | * __Use Luke : __'''__Lucene Index Toolbox : __'''http://www.getopt.org/luke/ |
| | 8 | * Java Web Start version: [http://gbic.target.rug.nl/luke.jnlp launch Luke now]. |
| | 9 | * or .. http://code.google.com/p/luke/ |
| | 10 | |
| | 11 | * downloaded , tried to open the index created by molgenis : Error : Incompatible format version: 2 expected 1 or lower |
| | 12 | * We need the newer version of Luke .: http://luke.googlecode.com/files/lukeall-1.0.1.jar |
| | 13 | * ok index successfully opened. |
| | 14 | * Need also : |
| | 15 | * 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) |
| | 16 | * ok , analyzers founds. Now test a search on our iindex.... |
| | 17 | * Continue LuceneSearchPlugin.java in molgenis : |
| | 18 | * (from http://www.jpgtutorials.com/lucene-full-text-search-in-java) |
| | 19 | * There is a change you should make to make it work: |
| | 20 | * parser = new !QueryParser(Version.LUCENE_CURRENT, "fulltext", analyzer); |
| | 21 | * instead of parser = new !QueryParser("fulltext", analyzer); |
| | 22 | * Search ok ! |
| | 23 | |
| | 24 | * Other misc reading : |
| | 25 | * http://zope.bioinfo.cnio.es/teaching |
| | 26 | * http://zope.bioinfo.cnio.es/bionlp_tools/ |
| | 27 | * http://www.bioinformaticscourses.com/bioinform/ |
| | 28 | * Misc Links : |
| | 29 | * An alternative literature search for Pubmed : |
| | 30 | * http://www.hubmed.org/ |
| | 31 | * http://www.ncbi.nlm.nih.gov/sites/entrez?db=pmc |
| | 32 | * http://scholar.google.nl/ |