Sunday, April 1, 2018

FW: How does group.query work in solr?

-----Original Message-----
From: Zheng Lin Edwin Yeo [mailto:edwinyeozl@gmail.com]
Sent: 20 March 2018 14:23
To: solr-user@lucene.apache.org
Subject: Re: How does group.query work in solr?

Which version of Solr are you using?
Also, what are the field types that you have used to index those fields?

Regards,
Edwin

On 19 March 2018 at 21:08, Anjani Kumar <anj.2403@gmail.com> wrote:

> I am trying to achieve grouping according to the fields matched in a
> single query. So in the group.query parameter I am passing individual
> queries according to field names and in the query parameter, I am
> passing just the search term to be matched against the default copy
> fields. However It is taking too much time compared to querying
> individual fields separately and combining the data at my end.
>
> here is the sample query:
>
> http://localhost:8983/solr/psqlTest/select?q=201*&wt=
> json&indent=true&group=true&group.query=road_name:201*&
> group.query=own_name:201*&group.query=tel_no:201*&group.
> query=assm_no:201*&group.limit=5
>
>
> This query takes time in order of seconds to complete when atleast 100
> users are hitting(using jmeter).
>
> The query over each fields and joining the results take time in order
> of
> 100-200 ms for the same jmeter parameters. Why is there such a huge
> difference in the performance?
>

No comments:

Post a Comment