Beginner |
|
Joined: Tue Aug 12, 2008 9:06 am Posts: 22 Location: Fort Washington, PA
|
Ok I figured that out by using native lucene code.
My situation has gotten a little tougher, however.
I have the hibernate search annotations connection several pojos to add them all to the same index.
Transcript has many Lines has many Utterances
I have them all annotated so my index will have documents that look like this:
UtteranceName
UtteranceID
UtteranceID.LineID
UtteranceID.LineID.TranscriptID
That way, I'm able to perform a simple search for an Utterance, and retrieve the Lines that had that Utterance and the Transcript that has that Utterance.
My problem is that I need to specify a TranscriptID and have it crawl down the line and create documents for everything annotated like it is here.
So if I added a Transcript to my db that had 30 lines and 300 utterances that went along with it, I need all those documents created and added to the lucene index.
Is this possible??
|
|