On Aug 22, 2005, at 2:27 AM, Rohit Lodha wrote:
Currently, Documents cannot contain other documents. I have a Graph of
Objects (Documents) to search in.
I could flatten them and search but...
Is there any nice way to do it?
I have used a technique of encoding a hierarchical path (like "/
category/subcategory/sub-subcategory") into an indexed untokenized
field. This allows for flat or hierarchical queries. A hierarchical
PrefixQuery of "/category" returns all documents from "/category"
downward, for example.
I suspect others have done more interesting techniques for this sort
of thing - I'd love to hear about them.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]