lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mag Gam" <magaw...@gmail.com>
Subject Re: Example question
Date Sat, 16 Sep 2006 23:39:54 GMT
No, I am talking about the Lucene Examples (not from LIA).



On 9/16/06, Erik Hatcher <erik@ehatchersolutions.com> wrote:
>
> Are you talking about the LIA example code?   The sample data gets
> indexed using the Ant <index> task, which automatically adds a "path"
> field for every document.  You'll see the document handler mentioned
> in the LIA build.xml file as well as the code for it in the code
> download.
>
>         Erik
>
>
> On Sep 16, 2006, at 12:32 PM, Mag Gam wrote:
>
> > While looking at the example's Index and Search code, I have
> > noticed in the
> > search, there is a :
> >
> > out.println (doc.get ("path"));
> >
> > I am not sure how is "path" is getting into the index. If you take
> > a look at
> > the Index code, there is no mention of "path". My question are:
> > what is this
> > path (I know it prints out the filesystem path)? Is this a reserved
> > word, if
> > so, where can I get a list of reserved words? How can I list all
> > hashes like
> > "path" ?
> >
> > TIA
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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