Hi Taher,
Solr has the function of result grouping.
I think it has two steps. First, it tries to find how many groups are there in
the result
and choose top groups (say 10 groups) using a priority queue. Second, provide
10 priority
queues for each groups and search again to collect second or a
Hi,
I was wondering how to extend the grouping lucene functionality as I am not
sure how the values of the field are grouped therefore making me group them
faster any tutorial or direction would be great
Thanks,
Taher Galal
glad you found it. I'd still recommend you get a copy of Luke, though,
it's invaluable.
Best
Erick
On Wed, Jun 8, 2011 at 8:49 AM, Pranav goyal wrote:
> Hi Erick,
>
> Thanks for the answer, before using Luke I got where I am making a mistake,
> and I replied it here.
>
> But thanks for the r
Hi Erick,
Thanks for the answer, before using Luke I got where I am making a mistake,
and I replied it here.
But thanks for the reply.
On Wed, Jun 8, 2011 at 6:14 PM, Erick Erickson wrote:
> hard to say. You should get a copy of Luke and inspect your index to
> see if what you
> think you put t
hard to say. You should get a copy of Luke and inspect your index to
see if what you
think you put there is actually there. When you added data to your
index, did you
perform a commit?
Best
Erick
On Wed, Jun 8, 2011 at 2:45 AM, Pranav goyal wrote:
> There is one field DocId which I am storing as
There is one field DocId which I am storing as well as indexing and DocId
and it's value is 0341
But the search results are giving me 0 results.
Is there any error in my code for searching?
StandardAnalyzer analyzer = new StandardAnalyzer(Version.LUCENE_31);
IndexSearcher searc
Thanks Anshum
On Wed, Jun 8, 2011 at 11:40 AM, Anshum wrote:
> Hi Pranav,
> The result would be a list of document ids, which can be used to retrieve
> the document (Using an indexreader). Once you have the document, you could
> fetch 'ANY' of the 'STORED' fields from the index for your purpose.
Hi Pranav,
The result would be a list of document ids, which can be used to retrieve
the document (Using an indexreader). Once you have the document, you could
fetch 'ANY' of the 'STORED' fields from the index for your purpose.
Directly, you'd not receive either the key field or any other field fro
Hi all,
I am getting confused in this thing,
Let say I make a lucene index using a document having a key field (which I
am storing as well as indexing)
and rest of my fields I am just indexing.
When I make some query what would be my result?
Will it be the field which I am storing or it can be a
The Hits object retrieves the documents lazily, so just ask it for the first
100.
-Yonik
On 9/7/05, haipeng du <[EMAIL PROTECTED]> wrote:
>
> The reason that I want to limit returned result is that I do not want
> to get out of memory problem. I index lucene with 3 million documents.
> Sometime
The reason that I want to limit returned result is that I do not want
to get out of memory problem. I index lucene with 3 million documents.
Sometimes, searching will return millions of fields back to me. I just
want to get the first 100, for example , to show them to user. Even, I
use search(query
11 matches
Mail list logo