You'd have to lowercase when the doc is
prepared I'd think.

Best,
Erick

On Thu, Jun 23, 2016 at 4:49 PM, Jay Potharaju <jspothar...@gmail.com> wrote:
> Hi,
> I am trying to do a case insensitive sorting on couple of fields.
> For this I am doing the following
>
>  <fieldType name="string_ci" class="solr.TextField" sortMissingLast="true"
> omitNorms="true">
>      <analyzer>
>     <tokenizer class="solr.KeywordTokenizerFactory"/>
>    <filter class="solr.LowerCaseFilterFactory" />
>         </analyzer>
>     </fieldType>
>
> Above would not allow using this datatype with docvalues. Docvalues can
> only be used with string & trie fields.
> And also docvalues are recommended for sorting & faceting.
>
> How can i accomplish using docvalues for case-insensitive field types.?
> Or what I am trying to do is not possible.
>
> --
> Thanks
> Jay

Reply via email to