Hi,

we changed our int fields from TrieIntField to IntPointField when we upgraded from Solr 7.7 to 8.1.1.

We're using the termfreq function to order results and this worked with Solr 7.7 and TrieIntField but does not work with IntPointField and Solr 8.1.1 anymore.

The field is defined as

<field name="folderpath" type="content" indexed="true" stored="true" multiValued="true" 
useDocValuesAsStored="false"/>
<fieldType name="content" class="solr.IntPointField" docValues="true"/>

I tried to debug this with a termfreq in the fl parameter, and the result of 
the termfreq functions seems to be always 0 even though the value is actually 
in the field,
for example with fl=folderpath,termfreq(folderpath,313)

<doc>
  <arr name="folderpath">
    
<int>1</int><int>57</int><int>147</int><int>311</int><int>313</int><int>2109</int>
  </arr>
  <int name="termfreq(folderpath,313)">0</int>
</doc>

I also tried to set omitTermFreqAndPositions="false" but that didn't help.

Can you help please?

Thank you,
Andreas

Reply via email to