I have a database of products to search. I plan to have a design with categories/facet groups/facets. Similar to this:
<categories>
    <category id="1" label="TopLevel" query="+cat:1">
        <category id="2" label="SecondLevel" query="+cat:2">
            <category id="3" label="ThirdLevel" query="+cat:3">
               <group id="1" label="Price">
<facet id="1" label="Under $20" query="+price:[0 TO 20]" /> <facet id="2" label="$21 - $40" query="+price:[21 TO 40]" /> <facet id="3" label="$41 - $60" query="+price:[41 TO 60]" /> <facet id="4" label="Over $60" query="+price:61 TO 9999]" />
               </group>
               <group id="2" label="Manufacturer">
                       <facet id="5" label="Sony" query="+mfg:sony" />
               </group>
           </category>.......

.......

After looking over the fields in the default solr schema, I am having trouble deciding where to put my facet id values. Seems like I should add a field called tags, or facets, or something similar. Also, I'm adding a description field. I guess I'm trying to verify that there is not a better solution or field value that I should be using to keep my product descriptions and tags/facet values? Because these two fields are probably common, I was wondered why it wasn't in the default schema?

Thanks,
Mike

Reply via email to