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

categorisation

2007-02-08 Thread Kainth, Sachin
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) BitSet all = (new QueryFilter(q)).bits(read

Re: Counting and Categorisation

2007-02-08 Thread Erik Hatcher
On Feb 8, 2007, at 8:55 AM, Kainth, Sachin wrote: Thanks for the reply. Since writing this I have in fact now implemented the BitSet version and it works quite successfully. However, I have now found out that we will be dealing with millions of records and that for this reason we can not

RE: Counting and Categorisation

2007-02-08 Thread Kainth, Sachin
solr is as it seems to be more suited to my application? Thanks Sachin -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 08 February 2007 13:48 To: java-user@lucene.apache.org Subject: Re: Counting and Categorisation On Feb 8, 2007, at 8:28 AM, Kainth, Sachin wrote

Re: Counting and Categorisation

2007-02-08 Thread Erik Hatcher
On Feb 8, 2007, at 8:28 AM, Kainth, Sachin wrote: This email is meant for Chris Hostetter and of course anyone else who may know about this, I wonder if I can ask you a question. I have been reading of how you at CNET have implemented categorisation and counting so that if i type "

Counting and Categorisation

2007-02-08 Thread Kainth, Sachin
This email is meant for Chris Hostetter and of course anyone else who may know about this, I wonder if I can ask you a question. I have been reading of how you at CNET have implemented categorisation and counting so that if i type "Kodak Easyshare" in the reviews section you not only