You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Manohar Sripada <ma...@gmail.com> on 2015/11/24 10:06:03 UTC
Range Query on a language specific field
I have a requirement where I need to be able to query on a field (say
"salary"). This field contains data in Chinese.
Is it possible in Solr to do a range query on this field? Is there any
language specific Analyzer that I could use on this field to achieve range
search?
Re: Range Query on a language specific field
Posted by Jack Krupansky <ja...@gmail.com>.
Salary would normally be a numeric field, with no tokenization or filtering.
For a range query on a non-numeric field the ordering will be lexical on
individual terms, and typically Chinese text is tokenized into
two-character terms. Sure, you can technically do a range query like that,
but I'm not sure how useful it will be.
-- Jack Krupansky
On Tue, Nov 24, 2015 at 4:06 AM, Manohar Sripada <ma...@gmail.com>
wrote:
> I have a requirement where I need to be able to query on a field (say
> "salary"). This field contains data in Chinese.
>
> Is it possible in Solr to do a range query on this field? Is there any
> language specific Analyzer that I could use on this field to achieve range
> search?
>