You have to re-index the parent + all children (and delete the
previous parent + all its children) whenever you want to add a new
child doc.

If you want to delete just children then you can do that w/o
reindexing the full block.

Mike McCandless

http://blog.mikemccandless.com


On Wed, Aug 14, 2013 at 4:19 PM, vonPuh fonPuhendorf
<vonpuhfonpuhend...@gmail.com> wrote:
> and can documents cam be added dynamic i.e new comments can be indexed and
> added to parent   doc? or have to rebuild the index
>
>
> 2013/8/14 Michael McCandless <luc...@mikemccandless.com>
>
>> Yes.
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Wed, Aug 14, 2013 at 11:50 AM, vonPuh fonPuhendorf
>> <vonpuhfonpuhend...@gmail.com> wrote:
>> > hi, can i use BlockJoinQuery to search only relative content i.e a
>> parrent
>> > will be post id and the children will be all the comments in the
>> > threads(userids)
>> >
>> > and return results only for comments from exact postid? i.e user 222
>> seach
>> > for "blah" from postid "1234" and results from only that postid will be
>> > present? Something like every post is "mini index"
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to