I don't believe there is a way to do that now.

On Mon, Nov 10, 2014 at 12:22 PM, Zdeněk <zdenek.s...@gmail.com> wrote:

> Hi,
> is there any way how to search part of phrase as case-sensitive and part
> as case-insensitive?
>
> The only solution I found for case sensitive/insensitive querying is to
> have multiple analyzers applied to one field (one analyzer with lowercase
> token filter and one without)
>
> With this solution I can search in following way
>
> Field.lowercase: "My Phrase"
>
> or
>
> Field.sensitive: "My Phrase"
>
> *But what to do if I whould like to search "My" as case sensitive and
> "Phrase" as case insensitive?*
>
> I found *span_near* query but error message sais that "*Clauses must have
> same field*"
>
> Thanks,
> Zdenek
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/de3a6085-5ecb-4486-a3aa-1a7162aaeed4%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/de3a6085-5ecb-4486-a3aa-1a7162aaeed4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1eHnEPq1oV%2BCBPS0i-aKXyJVmLLawtqDz2V%3DO13t6LKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to