Re: categorisation

2007-02-09 Thread Erik Hatcher
On Feb 9, 2007, at 9:13 AM, Kainth, Sachin wrote: What does solr provide and how can I use it with dotLucene? Have a 10 minute dedicated look at http://lucene.apache.org/solr - download the latest binary distribution, follow along with the tutorial. After that, you'll know almost everythi

RE: categorisation

2007-02-09 Thread Kainth, Sachin
What does solr provide and how can I use it with dotLucene? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 14:11 To: java-user@lucene.apache.org Subject: Re: categorisation On Feb 9, 2007, at 9:08 AM, Kainth, Sachin wrote: > Are you saying t

Re: categorisation

2007-02-09 Thread Erik Hatcher
On Feb 9, 2007, at 9:08 AM, Kainth, Sachin wrote: Are you saying that without solr I will have caching problems under load? no, not at all. i'm saying you'll likely reinvent a lot of what solr already provides, in order to _scale_ that is. --

RE: categorisation

2007-02-09 Thread Kainth, Sachin
Are you saying that without solr I will have caching problems under load? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 14:06 To: java-user@lucene.apache.org Subject: Re: categorisation On Feb 9, 2007, at 7:07 AM, Kainth, Sachin wrote: >

Re: categorisation

2007-02-09 Thread Erik Hatcher
, only one query is needed. Caching is key. Solr - See the Light! Erik -Original Message- From: Kainth, Sachin [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 12:05 To: java-user@lucene.apache.org Subject: RE: categorisation Ahhh it all makes sense to me now

RE: categorisation

2007-02-09 Thread Kainth, Sachin
But does that not imply that a second search is made against the index by the line: BitSet all = (new QueryFilter(q)).bits(reader) -Original Message- From: Kainth, Sachin [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 12:05 To: java-user@lucene.apache.org Subject: RE: categorisation

RE: categorisation

2007-02-09 Thread Kainth, Sachin
Ahhh it all makes sense to me now :-) -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 12:01 To: java-user@lucene.apache.org Subject: Re: categorisation On Feb 9, 2007, at 5:40 AM, Kainth, Sachin wrote: > It makes sense to me only if you tell

Re: categorisation

2007-02-09 Thread Erik Hatcher
match the query*, though. it wouldn't make sense to AND a bitset with one that is all 1's always. Erik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 08 February 2007 18:37 To: java-user@lucene.apache.org Subject: Re: categorisation On Feb 8,

RE: categorisation

2007-02-09 Thread Kainth, Sachin
It makes sense to me only if you tell me that all the bits in the BitSet "all" will be 1. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 08 February 2007 18:37 To: java-user@lucene.apache.org Subject: Re: categorisation On Feb 8, 2007, at 12:36

Re: categorisation

2007-02-08 Thread Erik Hatcher
On Feb 8, 2007, at 12:36 PM, Kainth, Sachin wrote: Chris has given an example of how to perform categorisation of lucene searches: String[] mfgs = ...; String query = "+category:cameras +price:[0 to 10]"; Query q = QueryParser.parse(query); Hits results = searcher.search(q, mySort) B