Thank you for your help!
I modified my code to add a secondary type field to represent the solr
nested document hierarchy and I'm using that new field in the {!child
of=''...} portion of the query.
Everything is working great now and I am able to delete by query as well
now (before I was only abl
On Fri, Jun 27, 2014 at 1:47 AM, Elliot Ickovic
wrote:
> Tried the following:
>
> add() - fakeparent000 : [single001] //with new 'doc-type:fakeparent'
>
here it should be doc-type:parent, if you wish to distinguish "fakes", mark
them by the separate field.
mind that you should not use the dif
On Thu, Jun 26, 2014 at 11:41 PM, Elliot Ickovic
wrote:
> Hi Mikhail, Thank you for the quick response!
>
> If I instead of:
>
> add() - fakeparent000 : [single001]
>
> I do :
>
> add() - single000 : [fakeChild001]
>
> will this prevent the index from appearing corrupted? This way I can
> retai
Tried the following:
add() - fakeparent000 : [single001] //with new 'doc-type:fakeparent'
add() - parent001 : [child001_1, child001_2]
commit()
Then query:
{!child of='doc-type:parent'}doc-type:parent
response now contains *fakeparent000*, *single001*, child001_1, child001_2
should only con
Hi Mikhail, Thank you for the quick response!
If I instead of:
add() - fakeparent000 : [single001]
I do :
add() - single000 : [fakeChild001]
will this prevent the index from appearing corrupted? This way I can
retain my logical top level docs.
What is the reason I need add a fake doc? If I
Hello Elliot,
Parent doc is mandatory, you can't omit it.
Thus instead of:
add() - single001
you have to
add() - fakeparent000 : [single001]
there was no plans to support any sort of flexibility there...
On Thu, Jun 26, 2014 at 9:52 PM, Elliot Ickovic
wrote:
> Using Solr 4.8.1.
>
> I am cr
Using Solr 4.8.1.
I am creating an index containing Solr documents both with and without
nested documents. When Indexing documents from a single SolrJ client on a
single thread if I do not call commit() after each document add() I see
some erroneous documents returned from my "child of" or "paren