lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Example question
Date Sat, 16 Sep 2006 23:28:16 GMT
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  


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message