I've got a question about the possibility to create nested fields in solr. Google searches told me something about group but I think its just for the result?
what I want to have is a structure like that:
- Category1
- item 1 (9)
- item 2 (8)
- Category2
- item 3 (6)
- Category3
- item 4 (23)
I tried something like this:
<field name="Category" type="string" indexed="true" stored="true" multiValued="true" required="false">
<field name="MiscellaneousName" type="string" indexed="true" stored="true" multiValued="true" required="false"/>
But it does not work.
Update: The categories and items should be faceted. Everey item(=facet) is part of a category. One Category could have multiple or null fields. The Categories and items are stored in a database an I want to index them dynamically. I only want to search for the items, the categories are just text. I'm using solr 3.3 with Tomcat 7.