You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2025/02/25 17:20:00 UTC

[jira] [Comment Edited] (SOLR-12632) Completely remove Trie fields

    [ https://issues.apache.org/jira/browse/SOLR-12632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930397#comment-17930397 ] 

Kevin Risden edited comment on SOLR-12632 at 2/25/25 5:19 PM:
--------------------------------------------------------------

I can confirm that there is significant performance degredation moving from Trie -> Point fields. We tried to move to it and found that Point fields did not work for performance for lookups.

I compared string, trie, point fields. I know SOLR-12074 exists to maybe help close the gap. Using string fields can also work for some cases as well without the performance penalty. 

The testing I did was single vs multiple value lookups against a string/trie/point field where each document had a handful of values in the field.

Basically tf:100 vs pf:100 vs sf:100 (tf=TrieInt, pf=IntPoint, sf=StrField)

Since value lookups from my testing were ~75ms for trie and string, but ~200ms for point. Multivalued (a bunch of values) was all ~160ms. So there is some degredation for the single value lookup that I never got to the bottom of.

We just stuck with Trie fields in Solr 9 for now since it wasn't removed and performs well still.


was (Author: risdenk):
I can confirm that there is significant performance degredation moving from Trie -> Point fields. We tried to move to it and found that Point fields did not work for performance for lookups.

I'll see if I can find the numbers from some testing I did. I compared string, trie, point fields. I know SOLR-12074 exists to maybe help close the gap. Using string fields can also work for some cases as well without the performance penalty. We just stuck with Trie fields in Solr 9 for now since it wasn't removed and performs well still.

> Completely remove Trie fields
> -----------------------------
>
>                 Key: SOLR-12632
>                 URL: https://issues.apache.org/jira/browse/SOLR-12632
>             Project: Solr
>          Issue Type: Task
>            Reporter: Steven Rowe
>            Priority: Major
>              Labels: numeric-tries-to-points
>
> Trie fields were deprecated in Solr 7.0.  We should remove them completely before we release Solr 8.0.
> Unresolved points-related issues: [https://jira.apache.org/jira/issues/?jql=project=SOLR+AND+labels=numeric-tries-to-points+AND+resolution=unresolved]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org