lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "LuceneFAQ" by YonikSeeley
Date Thu, 22 Oct 2009 19:04:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "LuceneFAQ" page has been changed by YonikSeeley.
The comment on this change is: added Solr's DIH to database.
http://wiki.apache.org/lucene-java/LuceneFAQ?action=diff&rev1=139&rev2=140

--------------------------------------------------

  
  Connect to the database using JDBC and use an SQL "SELECT" statement to query the database.
Then create one Lucene Document object per row and add it to the index. You will probably
want to store the ID column so you can later access the matching items. For other (text) columns
it might make more sense to only index (not store) them, as the original data is still available
in your database.
  
- For a more high level approach you might want to have a look at [[http://lab.cisti-icist.nrc-cnrc.gc.ca/cistilabswiki/index.php/LuSql|LuSql]]
(a specialized tool for moving data from JDBC-accessible databases into Lucene), [[http://search.hibernate.org|Hibernate
Search]], [[http://www.compass-project.org/|Compass]], or [[http://www.dbsight.net/|DBSight]],
which all use Lucene internally.
+ For a more high level approach you might want to have a look at [[http://lab.cisti-icist.nrc-cnrc.gc.ca/cistilabswiki/index.php/LuSql|LuSql]]
(a specialized tool for moving data from JDBC-accessible databases into Lucene), [[http://search.hibernate.org|Hibernate
Search]], [[http://www.compass-project.org/|Compass]], [[http://www.dbsight.net/|DBSight]],
or [[http://wiki.apache.org/solr/DataImportHandler|Solr's Data Import Handler]] which all
use Lucene internally.
  
  ==== How do I perform a simple indexing of a set of documents? ====
  

Mime
View raw message