Date Range Search throws IndexAccessException

2004-12-03 Thread Shawn Konopinsky
It seems that when I run the query datelastrevised:[0e130wml4 TO 0e2alh18o] (where datelastrevised is a lucene date field) and the result contains more than X results, that an IndexAccessException is thrown with no error message. If I perform the same query on a smaller set of possible matches,

RE: Date Range Search throws IndexAccessException

2004-12-03 Thread Shawn Konopinsky
Thanks for the quick response Chris. The problem with using a Filter is that I want to be able to merely generate a text query based on the range information instead of having to modify the core search module which basically receives text queries. If I understand correctly, the Filter would

Too many boolean clauses

2004-09-20 Thread Shawn Konopinsky
Hello There, Due to the fact that the [# TO #] range search works lexographically, I am forced to build a rather large boolean query to get range data from my index. I have an ID field that contains about 500,000 unique ids. If I want to query all records with ids [1-2000], I build a boolean

RE: Too many boolean clauses

2004-09-20 Thread Shawn Konopinsky
September 2004 18:27, Shawn Konopinsky wrote: Hello There, Due to the fact that the [# TO #] range search works lexographically, I am forced to build a rather large boolean query to get range data from my index. I have an ID field that contains about 500,000 unique ids. If I want to query all

Limiting Term Queries

2004-07-20 Thread Shawn Konopinsky
Is it possible to limit a term query? For example: I am indexing documents with (amongst other things) a string in one field and with a number in another field. All combinations of strings and numbers are allowed and neither field is unique. I would like a way to query Lucene to pull out all

Limiting a unqiue field search.

2004-07-19 Thread Shawn Konopinsky
I am attempting to query a field in my index for all unique values. I am using the following call to get all the unique values of the field: TermEnum enumerator = reader.terms(new Term(field, )); where read is an IndexReader and 'field' is the field name. However, I would like further limit