[
https://issues.apache.org/jira/browse/SOLR-8362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300372#comment-15300372
]
Scott Blum commented on SOLR-8362:
----------------------------------
I'd like to put in a vote for "docValues on the analyzed terms" e.g. facets on
the words in a large text field. My reasoning for preferring this method is as
follows:
Suppose I have a text field that I want to be able to do normal token searches
on. Now, if I want to be able to facet on the entire value of the field
efficiently: it's extremely easy to create a copyField that's a StrField and
facet on that... it's a few lines of schema to create the copyField. But what
if I want to be able to facet on the individual tokens? Maybe I want to use
faceting to autosuggest search terms that would match text field tokens.
There's just no easy way to do that: I have to create a multivalued string
field to hold each token and manually parse the whole value myself. We're
having to use an UpdateProcessor to do exactly that for basically every text
field we want to be able to facet the tokens on.
> Add docValues support for TextField
> -----------------------------------
>
> Key: SOLR-8362
> URL: https://issues.apache.org/jira/browse/SOLR-8362
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
>
> At the last lucene/solr revolution, Toke asked a question about why TextField
> doesn't support docValues. The short answer is because no one ever added it,
> but the longer answer was because we would have to think through carefully
> the _intent_ of supporting docValues for a "tokenized" field like TextField,
> and how to support various conflicting usecases where they could be handy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]