Problem in parsing non-string dynamic field by using IndexReader

2009-07-04 Thread Yuchen Wang
I have a task to parse all documents in a solr index. I use Lucene IndexReader to read the index and go through each field from all documents. However, for float or int dynamic fields, the stringValue() call always returns some special characters. I tried tokenStreamValue, byteValue, readerValue, a

Re: Trie vs long string for sorting

2009-07-04 Thread Mark Miller
Trie has a custom parser that can load the FieldCache for sorting. Its basically a built in type now, that supports fieldcache, sorting, stored fields, etc. On Sat, Jul 4, 2009 at 3:27 PM, Chris Hostetter wrote: > > : My data are library call numbers, normalized to be comparable, resulting > in >

Re: Delete, Commit, Add Interaction

2009-07-04 Thread Chris Hostetter
: Jul 4, 2009 12:38:43 PM org.apache.solr.update.processor.LogUpdateProcessor finish : INFO: {} 0 0 : Jul 4, 2009 12:38:43 PM org.apache.solr.core.SolrCore execute : INFO: [] webapp=/solr path=/update params={} status=0 QTime=0 : : ...that was a delete (not sure why the msg from LogUpdateProces

Re: Delete, Commit, Add Interaction

2009-07-04 Thread Chris Hostetter
: :collection:foo : : : : : . : : ... : Finally, here's the behavior we're seeing. In some cases, usually when : the index is starting to get larger (approaching 500,000 documents), : the above procedure will fail to add anything to the index. That is, none : of

Re: Trie vs long string for sorting

2009-07-04 Thread Chris Hostetter
: My data are library call numbers, normalized to be comparable, resulting in : (maximum) 21-character strings of the form "RK 052180H359~999~999" : : Now, these are fine -- they work for sorting and ranges and the whole thing, : but right now I can't use them because I've got two or three for ea

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-04 Thread SergeyG
Otis, Here're the logs - method calls along with their outputs (sorry for the bulk data :) ). I compared 3 runs. 1) GetMethod a) url=http://localhost:8080/solr/mlt b) query=q=id:10&mlt.fl=content_mlt&mlt.maxqt=5&mlt.interestingTerms=details&fl=title+author+score Output: INFO MLT2SearchReques