On Feb 23, 2005, at 2:37 AM, Paul Smith wrote:
Spotlight and Indexing service appear to be about finding the file that matches a query, IIRC. With Lucene there is more flexibility. Taking a classic Log file, I've created a lucene Document with 1 Field for each and every line of text in the log file. One can then perform queries on the index of the log file and get matching lines.
In some ways this concept is completely reproducing something that a database would do, but for really large log files Lucene may be better suited. As I said, it's mostly conjecture on my part about how useful this is, it really is mostly an 'interesting' idea more than a practical at this stage (compared with the zeroconf and VFS idea).



Okay. I was guessing that you were looking at Lucene to locate log files that matched a query and that only seemed to be useful if you were dealing with rolling logs since otherwise you'd likely know what file to look at.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to