Hi Erick, Thanks for reply, Can you tell me how to change indexer to store custom fields so that i can store two new fields like "Main File Name" and "Real File Name". so i can store Zip File name as Main file and Actual file where data found in Real File.
Thanks... Erick Erickson wrote: > > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Lucene-search-returns-Zip-file-Name-tf2925197.html#a8190488 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]