Karsten:
Yes, you kinda need that for faceting to work. Take a look at
FacetDataCache class.
-John
On Wed, Apr 22, 2009 at 3:06 AM, Karsten F.
wrote:
>
> Hi Dave,
>
> facets:
> in you case a solution with one
> int[IndexReader.maxDoc()]
> fits. For each document number you can store an inte
Hi Dave,
facets:
in you case a solution with one
int[IndexReader.maxDoc()]
fits. For each document number you can store an integer which represents the
facet value.
This is what org.apache.solr.request.UnInvertedField will store in your
case.
(*John* : is there something similar in com.browseeng
From: Karsten F. [mailto:karsten-luc...@fiz-technik.de]
Sent: Monday, April 20, 2009 4:00 PM
To: java-user@lucene.apache.org
Subject: RE: Faceting, Sort and DocIDSet
Hi David,
correct: you should avoid reading the content of a document inside a
hitcollector.
Normaly that means to cache all you need
Hi David:
We built bobo-browse specifically for these types of usecases:
http://code.google.com/p/bobo-browse
Let me know if you need any help getting it going.
-John
On Mon, Apr 20, 2009 at 12:59 PM, Karsten F.
wrote:
>
> Hi David,
>
> correct: you should avoid reading the content o
Hi David,
correct: you should avoid reading the content of a document inside a
hitcollector.
Normaly that means to cache all you need in main memory. Very simple and
fast is a facet with only 255 possible values and exactly one value per
document. In this case you need only an byte[IndexReader.ma
w how this behaves?
Thanks,
-Dave
-Original Message-
From: Robert Muir [mailto:rcm...@gmail.com]
Sent: Monday, April 20, 2009 10:26 AM
To: java-user@lucene.apache.org
Subject: Re: Faceting, Sort and DocIDSet
David,
One suggestion I have for your large index. Is it possible to index
gt; -Original Message-
> From: Karsten F. [mailto:karsten-luc...@fiz-technik.de]
> Sent: Saturday, April 18, 2009 10:58 AM
> To: java-user@lucene.apache.org
> Subject: Re: Faceting, Sort and DocIDSet
>
>
> Hi Dave,
>
> searching and sorting in lucene are two separ
ks!
-Dave
-Original Message-
From: Karsten F. [mailto:karsten-luc...@fiz-technik.de]
Sent: Saturday, April 18, 2009 10:58 AM
To: java-user@lucene.apache.org
Subject: Re: Faceting, Sort and DocIDSet
Hi Dave,
searching and sorting in lucene are two separate functions (if you not
want
to sort by
Hi Dave,
searching and sorting in lucene are two separate functions (if you not want
to sort by relevance).
You will not loss performance if you first search with BitSet as
HitCollector and then sort the result by DateField.
But more easy is to extend TopFieldDocCollector/TopFieldCollector to a
C
I'm sorry If this question touches on too many things at once, but I'm
having problems putting some ideas together - hopefully someone can
help!
I have a set of indexes, each index contains a month's worth of
Articles. I need to be able to search the index (sorting by date) and
then apply access-
10 matches
Mail list logo