lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: docValue vs. analyzer
Date Thu, 19 Apr 2018 16:38:44 GMT
I haven't poked into the details, but (recently, very recently, 7.3)
theres a SortableTextField that may be useful in this situation.
Otherwise you could use a FieldMutatingUpdateProcessorFactory or
perhaps a ScriptUpdateProcessor to manipulate the fields on the way
in. Not quite sure how you could get synonyms to work in those
situations though.....

Best,
Erick

On Thu, Apr 19, 2018 at 7:26 AM, Uwe Reh <reh@hebis.uni-frankfurt.de> wrote:
> Hi,
>
> I'm stuck in a dead end.
>
> My task is to map individual ids, to group them.
>
> So far, so simple:
> * copyfield 'id' -> 'groupId'
> * use a SynonymFilter on 'groupId'
>
> Now, I had the idea to improve the performance of grouping with 'docValues'.
>
> Unfortunately, this leads to a contradiction:
> * docValues are not allowed for TextFields
> * analysers are not allowed on StrFields.
>
> Is there a way, to resolve this contradiction within Solr? (without the need
> of external preprocessing?)
>
> Regards
> Uwe
>
> PS.
> Yes, a token stream for a strfield, isn't a great idea.
> But having CharFiltes would be nice.

Mime
View raw message