You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by Khurram Shehzad <kh...@live.com> on 2018/12/23 05:10:02 UTC
Customize Nested Query
Hi,
I've a requirement of customized match of an string field against the list of 0.5M elements.
FunctionQuery and FunctionMatchQuery look appropriate for my need. It seems that it only supports Double whereas I need String support.
Any idea please?
Regards,
Khurram
Re: Customize Nested Query
Posted by Khurram Shehzad <kh...@live.com>.
Hi Uwe,
Thanks for your reply.
We have tested TemrInSetQuery. Although it worked, but we're still looking to improve response time and evaluating different options, custom Nested perhase query one of them.
Any insight would be greatly appreciated.
Regards,
Khurram
________________________________
From: Uwe Schindler <uw...@thetaphi.de>
Sent: Sunday, December 23, 2018 3:51 PM
To: general@lucene.apache.org
Subject: Re: Customize Nested Query
Why not TermInSetQuery?
Uwe
Am December 23, 2018 5:10:02 AM UTC schrieb Khurram Shehzad <kh...@live.com>:
>Hi,
>
>I've a requirement of customized match of an string field against the
>list of 0.5M elements.
>
>FunctionQuery and FunctionMatchQuery look appropriate for my need. It
>seems that it only supports Double whereas I need String support.
>
>Any idea please?
>
>Regards,
>Khurram
--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: Customize Nested Query
Posted by Uwe Schindler <uw...@thetaphi.de>.
Why not TermInSetQuery?
Uwe
Am December 23, 2018 5:10:02 AM UTC schrieb Khurram Shehzad <kh...@live.com>:
>Hi,
>
>I've a requirement of customized match of an string field against the
>list of 0.5M elements.
>
>FunctionQuery and FunctionMatchQuery look appropriate for my need. It
>seems that it only supports Double whereas I need String support.
>
>Any idea please?
>
>Regards,
>Khurram
--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de