i have tha follow structure in mongodb:
{ "status": "1", "instancia": "1", "infoadicionais": { "partes": [{ "id": "123" }] } }
at schema.xml in solr, how declare field infoadicionais? have tried:
<field name="infoadicionais" type="text_general" indexed="true" stored="true" docvalues="true" />
but not works.
thanks.
how planning search that? when 10 results on page, 1 of results? should solr document in cases.
solr not database designed preserve data structure. solr wants modify, combine, split , denormalize data structures allow find information fast.
if not searching partes id, may not need preserve it. if it, expect back? map multiple ids same object or different ones? these questions answer first.
as nested structures support, solr does supports parent , child documents, schema combined superset of fields 1 , another.
Comments
Post a Comment