RE: lucene/solr, raw indexing/searching

2011-08-02 Thread Craig Stires
dhastings, my recommendation for the approaches from both sides ... Lucene: try on a whitespace analyzer for size Analyzer an = new WhitespaceAnalyzer(Version.LUCENE_31); Solr: in your /index/solr/conf/schema.xml ... -craig -Original Message

RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-05 Thread Craig Stires
Rohit, The solr server using TrieDateField must receive values in the format 2011-01-07T17:00:30Z This should be a UTC-based datetime. The offset can be applied once you get your results back from solr SimpleDateFormat df = new SimpleDateFormat(format); df.setTimeZone(TimeZone.getTimeZo

RE: Searching performance suffers tremendously during indexing

2011-04-30 Thread Craig Stires
Daniel, I've been able to post documents to Solr without degrading the performance of search. But, I did have to make some changes to the solrconfig.xml (ramBufferSize, mergeFactor, autoCommit, etc). What I found to be helpful was having a look at what was the causing the OS to grind. If you

RE: Creating a TrieDateField (and other Trie fields) from Lucene Java

2011-04-20 Thread Craig Stires
at 11:17 PM, Craig Stires wrote: > The barrier I have is that I need to build this offline (without using a > solr server, solrconfig.xml, or schema.xml) This is pretty unusual... can you share your use case? Solr can also be run in embedded mode if you can't run a stand-alone server

Creating a TrieDateField (and other Trie fields) from Lucene Java

2011-04-19 Thread Craig Stires
Wanted to share this, as I've seen a couple discussions on different boards. The solution has been either: 1. use the solrj client 2. import as csv 3. use the streamingupdatesolrserver The barrier I have is that I need to build this offline (without using a solr server, solrconfig.xml, or