lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Lucene search returns Zip file Name
Date Fri, 05 Jan 2007 13:30:58 GMT
You only get things out of an index that you put in there. At index time,
you need to associate file names with content. Something like indexing the
text of each file in the zip file as a separate lucene document, perhaps
with the associated zip file name and the real file name.

Best
Erick


On 1/5/07, Aslam Bari <iamaslamok@yahoo.co.in> wrote:
>
>
> Dear all,
> I m using lucene to index zip files. Suppose a zip file contains 4 files.
> All files get indexed well with uri of Zip file means when i search for
> any
> content the result comes and the resutl file name is zip file, but i need
> to
> know the real file name in which the data found. How to get that file
> name???
> Thanks....
> --
> View this message in context:
> http://www.nabble.com/Lucene-search-returns-Zip-file-Name-tf2925197.html#a8176954
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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