RE: range index

2007-08-27 Thread Jonathan Woods
7 August 2007 17:51 > To: solr-user@lucene.apache.org > Subject: Re: range index > > Any sample code and howto write Analyzer and Tockenizer available? > > Jae > > On 8/27/07, Jonathan Woods <[EMAIL PROTECTED]> wrote: > > > > Or you could write your own Ana

Re: range index

2007-08-27 Thread Jae Joo
; > > -Original Message- > > From: Jae Joo [mailto:[EMAIL PROTECTED] > > Sent: 27 August 2007 16:46 > > To: solr-user@lucene.apache.org > > Subject: Re: range index > > > > I could build index with Sales Vol ranges using > > PatternReplaceFilte

Re: range index

2007-08-27 Thread Jae Joo
I could build index with Sales Vol ranges using PatternReplaceFilterFactory Thanks, Jae On 8/27/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > > On Aug 27, 2007, at 9:48 AM, Jae Joo wrote: > > That works. But I am looking how to do that at INDEXING TIME, but > > at

RE: range index

2007-08-27 Thread Jonathan Woods
Or you could write your own Analyzer and Tokenizer to produce single values corresponding, say, to the start of each range. Jon > -Original Message- > From: Jae Joo [mailto:[EMAIL PROTECTED] > Sent: 27 August 2007 16:46 > To: solr-user@lucene.apache.org > Subject: Re: ran

Re: range index

2007-08-27 Thread Erik Hatcher
On Aug 27, 2007, at 9:48 AM, Jae Joo wrote: That works. But I am looking how to do that at INDEXING TIME, but at query time. Any way for that? I'm not sure I understand the question. The example provided works at query time. If you want to bucket things at indexing time you could do

Re: range index

2007-08-27 Thread Jae Joo
That works. But I am looking how to do that at INDEXING TIME, but at query time. Any way for that? Thanks, Jae On 8/27/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > > On Aug 27, 2007, at 9:32 AM, Jae Joo wrote: > > Is there any way to catagorize by price range? > > > > I would like to do face

Re: range index

2007-08-27 Thread Erik Hatcher
On Aug 27, 2007, at 9:32 AM, Jae Joo wrote: Is there any way to catagorize by price range? I would like to do facet by price range. (ex. 100-200, 201-500, 501-1000, ...) Yes, look at using facet queries using range queries. There is an example of this very thing here: