On Jan 16, 2004, at 5:02 AM, Stefano Mazzocchi wrote:
I would not index the metadata with lucene, otherwise, it would generate a mess and semantic collision between metadata and search. for example, say you want to do a full-text search of 'author' and you have your own properties that have author in it... all documents come up in the search, but that's not what you wanted.


One dilemma with Lucene is that the fields are flat. So storing hierarchical properties requires a bit of thought and innovation. It is an area I'd like to explore though... mapping XPath expressions into Lucene queries.


I think indexing metadata with Lucene makes sense though. The live properties like last modified date and such could be used to filter queries nicely. Not to mention the security stuff mentioned already.

Erik


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



Reply via email to