You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by developer3459 <de...@gmail.com> on 2012/08/02 22:03:10 UTC
Re: BlockJoinQuery Clarification
Is there a way to delete a parent doc from the collection, or delete a child
doc from the collection? If so, will deleting the parent doc of a collection
orphan the associated child docs or will they automatically be deleted as
well?
thanks
-D
--
View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998891.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
Re: BlockJoinQuery Clarification
Posted by Michael McCandless <lu...@mikemccandless.com>.
Open an IndexWriter with OpenMode.CREATE, or call
IndexWriter.deleteAll on an already open IndexWriter.
Mike McCandless
http://blog.mikemccandless.com
On Thu, Aug 2, 2012 at 4:28 PM, developer3459 <de...@gmail.com> wrote:
> Is there an quick/easy way to delete the entire collection at once? Im
> looking to delete and replace the entire collection in one fell swoop.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998902.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: BlockJoinQuery Clarification
Posted by developer3459 <de...@gmail.com>.
Is there an quick/easy way to delete the entire collection at once? Im
looking to delete and replace the entire collection in one fell swoop.
--
View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998902.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: BlockJoinQuery Clarification
Posted by Michael McCandless <lu...@mikemccandless.com>.
You must delete all children when you delete the parent.
I believe you can delete individual children and leave the parent undeleted.
Mike McCandless
http://blog.mikemccandless.com
On Thu, Aug 2, 2012 at 4:03 PM, developer3459 <de...@gmail.com> wrote:
>
> Is there a way to delete a parent doc from the collection, or delete a child
> doc from the collection? If so, will deleting the parent doc of a collection
> orphan the associated child docs or will they automatically be deleted as
> well?
>
> thanks
> -D
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/BlockJoinQuery-Clarification-tp3848728p3998891.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org