Re: Using RangeFilter

2008-01-24 Thread Antony Bowesman
vivek sar wrote: I've a field as NO_NORM, does it has to be untokenized to be able to sort on it? NO_NORMS is the same as UNTOKENIZED + omitNorms, so you can sort on that. Antony - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Using RangeFilter

2008-01-24 Thread vivek sar
I've a field as NO_NORM, does it has to be untokenized to be able to sort on it? On Jan 21, 2008 12:47 PM, Antony Bowesman <[EMAIL PROTECTED]> wrote: > vivek sar wrote: > > I need to be able to sort on optime as well, thus need to store it . > > Lucene's default sorting does not need the field to

Re: Using RangeFilter

2008-01-21 Thread Antony Bowesman
vivek sar wrote: I need to be able to sort on optime as well, thus need to store it . Lucene's default sorting does not need the field to be stored, only indexed as untokenized. Antony - To unsubscribe, e-mail: [EMAIL PRO

Re: Using RangeFilter

2008-01-19 Thread Shai Erera
l Message > > From: vivek sar <[EMAIL PROTECTED]> > > To: java-user@lucene.apache.org > > Sent: Saturday, January 19, 2008 8:06:25 PM > > Subject: Using RangeFilter > > > > Hi, > > > > I have a requirement to filter out documents by date rang

Re: Using RangeFilter

2008-01-19 Thread vivek sar
y not just index them and not > store them if index size is a concern? > > Otis > > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > - Original Message > From: vivek sar <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent:

Re: Using RangeFilter

2008-01-19 Thread Otis Gospodnetic
g Sent: Saturday, January 19, 2008 8:06:25 PM Subject: Using RangeFilter Hi, I have a requirement to filter out documents by date range. I'm using RangeFilter (in combination to FilteredQuery) to do this. I was under the impression the filtering is done on documents, thus I'm just storing the

Using RangeFilter

2008-01-19 Thread vivek sar
Hi, I have a requirement to filter out documents by date range. I'm using RangeFilter (in combination to FilteredQuery) to do this. I was under the impression the filtering is done on documents, thus I'm just storing the date values, but not indexing them. As every new document would

Re: "filtering" using RangeFilter class

2006-03-03 Thread Chris Hostetter
: I am trying to filter my search using RangeFilter class but i get : BooleanQuery TooManyClauses exception. You aren't useing a RangeFilter, you are using a RangeQuery ... they are very different beasts. RangeQuery works fine for small ranges, or when you want the term frequencies of the

RE: "filtering" using RangeFilter class

2006-03-03 Thread Seeta Somagani
: java-user@lucene.apache.org Subject: "filtering" using RangeFilter class Hi All, I am trying to filter my search using RangeFilter class but i get BooleanQuery TooManyClauses exception. Exception in thread "main" org.apache.lucene.search.BooleanQuer

"filtering" using RangeFilter class

2006-03-03 Thread Urvashi Gadi
Hi All, I am trying to filter my search using RangeFilter class but i get BooleanQuery TooManyClauses exception. Exception in thread "main" org.apache.lucene.search.BooleanQuery$TooManyClauses at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.ja