I have multivalue field in my schema.xml:
<field name="extensions" type="string_lowercase" indexed="true"
stored="true" multivalue="true"
         omitNorms="true" omitTermFreqAndPositions="true"/>

I have indexed the following documents:
<doc>
    ...
    <field name="extension">bmp</field>
    <field name="extension">zip</field>
    <field name="extension">bmp</field>
    ...
</doc>
<doc>
    ...
    <field name="extension">zip</field>
    <field name="extension">zip</field>
    <field name="extension">bmp</field>
    ...
</doc>

How can I retrieve the count of the term "zip" (in this example it must be
3) from all multivalued field in this index without adding a copy field
(without changes in schema.xml)? TermFrequency won't work because
'omitTermFremFreqAndPositions' is enabled.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Term-count-in-multivalue-fields-tp4168138.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to