IQSS logo

IRC log for #dvn, 2013-03-03

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today

| Channels | #dvn index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
03:27 pdurbin_ joined #dvn
05:58 ruebot joined #dvn
15:35 pdurbin hmm, I'm basically trying to shove "Indexing Categories Illustrated" from http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-facet/index.html before a call to writer.addDocument(doc) but I'm getting org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/tmp/taxo-dir/write.lock
15:35 pdurbin (i'm just throwing it in /tmp for now)
15:36 pdurbin here's the writer.addDocument part of the code: https://github.com/IQSS/dvn/blob/3.3/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/index/Indexer.java#L426
15:38 pdurbin http://stackoverflow.com/questions/5327978/lockobtainfailedexception-updating-lucene-search-index-using-solr/5346643#5346643 suggests using another writer but I'm not having much luck...
15:39 pdurbin it interesting... the faceting index gets stored in a different directory on the file system
15:40 pdurbin we use "index-dir" for the lucene index today: https://github.com/IQSS/dvn/blob/3.3/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/index/Indexer.java#L105
15:41 pdurbin oh... whoops... i meant to link to the userguide when i mentioned "Indexing Categories Illustrated" http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-facet/userguide.html
15:41 pdurbin http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-facet/userguide.html#facet_indexing
15:42 pdurbin http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_5_0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/simple/SimpleIndexer.java is where you can see that they use two different directories...
15:43 pdurbin ... Directory indexDir, Directory taxoDir
15:48 pdurbin here's a level up to browse to the other files: https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_5_0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/simple/
16:08 pdurbin this is for https://redmine.hmdc.harvard.edu/issues/2656 ... i had been focused on getting solr to work... but we had a meeting on friday and i'm seeing if we can stick with lucene, now that lucene has faceting: http://irclog.iq.harvard.edu/dvn/2013-02-26#i_1226
16:19 pdurbin "Refine Results" in the mockup at https://redmine.hmdc.harvard.edu/attachments/518/networkhmpg.mockup2c.jpg from https://redmine.hmdc.harvard.edu/issues/2770 is the "faceted search" we're going for that we mention at http://thedata.org/book/upcoming-releases

| Channels | #dvn index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today