lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mordo, Aviran (EXP N-NANNATEK)" <>
Subject RE: Document Get question
Date Thu, 24 Aug 2006 14:09:44 GMT
It is up to you. What ever you put in the document during indexing
you'll get back. If you'll add a field of just the document name you can
retrieve that, or just parse the file name from the path.


-----Original Message-----
From: Mag Gam [] 
Sent: Thursday, August 24, 2006 9:55 AM
Subject: Document Get question

Is it possible to get Document Name, instead of its entire path?

Currently, i have something like this:
out.println (doc.get ("path"));   // Which gives me /documents/file.txt

Is it possible to get  "file.txt"

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

View raw message