Thanks Anshum

On Wed, Jun 8, 2011 at 11:40 AM, Anshum <ansh...@gmail.com> 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.
> 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
> http://ai-cafe.blogspot.com
>
>
> On Wed, Jun 8, 2011 at 11:00 AM, Pranav goyal <pranavgoyal40...@gmail.com
> >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?
> >
>



-- 
I'm very responsible, when ever something goes wrong they always say I'm
responsible --

Reply via email to