lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <>
Subject Re: Lucene Result
Date Wed, 08 Jun 2011 06:10:53 GMT
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 from the
'search' method.
Also, I'd suggest you to grab a copy of Lucene in Action 2nd Edition as it'd
help you a lot in understanding the way Lucene works/is used.

Anshum Gupta

On Wed, Jun 8, 2011 at 11:00 AM, Pranav goyal <>wrote:

> 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 anything?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message