On Sun, Dec 13, 2015 at 6:40 PM, santosh sidnal
wrote:
> Hi All,
>
> I want to define nested fileds in SOLR using schema.xml. we are using Apache
> Solr 4.7.0.
>
> i see some links which says how to do, but not sure how can i do it in
> schema.xml
> https://cwiki.apache.org/confluence/display/solr
Exacly, In Solr there is no concept of "nested fields" .
But there's the concept of nested documents ( via Query time join and Index
time (block) join ) .
You can have a "flat" schema which actually will be used to model nested
documents at index and query time.
There is plenty of documentation abo
>From what I've seen, you can't nest fields in the schema.xml, since those
are just declarations. If you want nested documents, you need to do so at
index time with the _childDocuments_ json key in your doc.
Take a look here: http://yonik.com/solr-nested-objects/
On Mon, Dec 14, 2015 at 6:10 AM s
Hi All,
I want to define nested fileds in SOLR using schema.xml. we are using Apache
Solr 4.7.0.
i see some links which says how to do, but not sure how can i do it in
schema.xml
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParsers
any help over here