You need to write some code to do this. (regular expressions maybe ?) I suggest you write a "parser" for parsing the structured text files and then feed ther results into the index using PyLucene.
PyLucene nor Lucene are not responsible for the way you get the data into the index. Tuesday, May 23, 2006, 8:40:02 PM, Thapar, Ashwin wrote: > For example, each text file contains a line starting with Date > Added:, which is followed by a date. What I would like to do, is > somehow extract this date from each text file, and store it in a > field called date for each record in the index. > Is there any way to do this? -- Catalin Constantin Bounce Software http://www.bounce-software.com http://www.cabanova.ro _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
