Thanks Mikhali.
On 23/11/15 17:44, Mikhail Khludnev wrote:
Novin,
As it's stated here http://yonik.com/solr-nested-objects/ there is no
requirements for schema. Perhaps
http://blog.griddynamics.com/2013/09/solr-block-join-support.html might be
useful too.
I suppose LogUpdateProcessor messages might answer about the root cause of
your problem.
On Mon, Nov 23, 2015 at 4:45 PM, Novin <no...@temetra.com> wrote:
Could somebody please give schema example for creating child document?
On 23/11/15 12:57, Novin wrote:
When I query using solr admin page. I can see the parent document there
in results, but now child document.
On 23/11/15 12:24, Alexandre Rafalovitch wrote:
Do you get a parent doc? If not, maybe you forgot to commit the whole
lot.
On 23 Nov 2015 6:42 am, "Novin" <no...@temetra.com> wrote:
Hi,
When I query q=*:* I can't get child documents back, Below is
configuration I am using for child Document to index in solr.
Am I missing something?
note: child document are using dynamic fields.
SolrInputDocument childDoc = new SolrInputDocument();
childDoc.addfield("index_l", 20000);
childDoc.addfield("datetime_dt", DateTime.now().toIsoDateTime());
parentDoc. .addChildDocument(childDoc);
schema.xml
<field name="_root_" type="string" indexed="true" stored="true"/>
solrconfig.xml
<cache name="perSegFilter"
class="solr.search.LRUCache"
size="10"
initialSize="0"
autowarmCount="10" />
If needed more info I can provide that either.
Cheeers,
Novin