Re: Implementing indexing of Versioned Document Collections

2010-11-16 Thread Alex vB
Hi again, my Payloads are working fine as I figured out now (haven't seen the nextPosition method). I really have problems with adding the bitvectors. Currently I am creating them during tokenization. Therefore, as already mentioned, they are only completely created when all fields are tokenized

Jason format exception for stats component facet results | stddev value of NaN

2010-11-16 Thread Johannes Goll
Hi, I am getting a mal-formatted json response when using the stats component with a facet that returns a stddev value of NaN ,e.g "facet-1":{ "min":0.0604898, "max":0.0604898, "sum":1.209796,

Re: Implementing indexing of Versioned Document Collections

2010-11-16 Thread Alex vB
Hello Pulkit, thank you for your answer and excuse me for my late reply. I am currently working on the payload stuff and have implemented my own Analyzer and Tokenfilter for adding custom payloads. As far as I understand I can add Payload for every term occurence and write this into the posting l

Re: lucene query type

2010-11-16 Thread Ian Lea
Lucene will generally do the right thing without much help - docs with more matches will score better and thus be presented first. But you can give it a helping hand, perhaps with some query boosting: build a boolean query and add an AND query with a positive boost, then an OR query with smaller o

lucene query type

2010-11-16 Thread maven apache
Hi: There are types of TermQuery,TermRangeQuery,and the BooleanQuery and etc built in lucene,and they can be combined to make a powerful search. However I wonder if this is useful for a user in the client side? For example,I build a web user interface with a search textfield(like the google) for

Re: asking about index verification tools

2010-11-16 Thread Samarendra Pratap
It is not guaranteed that every term will be indexed. There is a limit on maximum number of terms (as in lucene 3.0 and may be earlier too) per field. Check out this http://lucene.apache.org/java/3_0_2/api/all/org/apache/lucene/index/IndexWriter.html#setMaxFieldLength(int) On Tue, Nov 16, 2010 at