RE: new consistency check for token filters in 4.5.1

2013-10-29 Thread Uwe Schindler
I think this is more a result of the Tokenizer on top, does not correctly implementing end(). In Lucene 4.6 you will get much better error messages (IllegalStateException) because we improved this detection, also during runtime. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http:

splitting docIds from a search by segment [SEC=UNOFFICIAL]

2013-10-29 Thread Stephen GRAY
UNOFFICIAL Hi everyone, I am trying to write an application that loops through 500,000 - 1,000,000 documents returned by a search and calculates some statistics using the value in a stored field. Obviously this needs to be as fast as possible so I am using a NumericDocValues field to store the

new consistency check for token filters in 4.5.1

2013-10-29 Thread Benson Margulies
My token filter has no end() method at all. Am I required to have an end method()? BaseLinguisticsTokenFilterTest.testSegmentationReadings:175->Assert.assertTrue:41->Assert.fail:88 super.end()/clearAttributes() was not called correctly in end() BaseLinguisticsTokenFilterTest.testSpacesInLemma:1

Re: corrupted index Lucene 4.4

2013-10-29 Thread Chris
Hi Mike, I changed my program and now the indexing is better. How ever I have run into another issue - I get characters like - �� - CTA - in the solr index. I am adding Java beans to solr by the addBean() function. This seems to be a character encoding issue. Any poi

Re: DateQuery with comparison operators

2013-10-29 Thread Jack Krupansky
Sorry, but the Lucene and Solr query parsers do not have support for the relational operators (although the LucidWorks Search query parser does, but that's for Solr). You simply need to use range queries: x < v -> x:[* TO v} x <= v -> x:[* TO v] x > v -> x:{v TO *] x >= v -> x:[v TO *] Not

DateQuery with comparison operators

2013-10-29 Thread Umashanker, Srividhya
HI - I are using Lucene 4.5 and want to support date comparisons with < > <= >= !=. Right now, we parse the string and create RangeQuery. Is there an inbuilt way to do date based comparisons ie., "dob <= 2013-10-23T14:47:54.776Z" -Vidhya