lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juro <svo...@gmail.com>
Subject document with parent-child relationship
Date Fri, 29 Apr 2011 06:50:40 GMT
Hello,

I need an advice on how to create an document that has parent-child
relationship. Here is an example:

"low pressure" -> "engine"
                    -> "wheel"
                    -> ....

"low pressure" string is the parent and "engine" and "wheel" are children.
I'd like to be able to search strings such as "low pressure in engine" or
just "low" or "engine" and the result should be an ID of the parent. How do
I create fields in the lucene document to express this relationship?

Any advice appreciated.--
View this message in context: http://lucene.472066.n3.nabble.com/document-with-parent-child-relationship-tp2878314p2878314.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message