Hi,
Have you already tried "group.cache.percent" parameter? It might improve
grouping performance.
Or if you try CollapsingQParser, you can use expand component to acquire
all values in groups, I think.
(
https://lucene.apache.org/solr/guide/6_6/collapse-and-expand-results.html#collapse-and-expand
Hi Yasufumi
Thanks for the reply. Yes, you are correct. I also checked the code and it
seems the same.
We are facing performance issues due to grouping so wanted to be sure that
we are not leaving out any possibility of caching the same in Query Result
Cache.
was just exploring field collapsing
ava#L120
)
But in caching grouping result, query result cache should have {query and
conditions} -> {grouped value, condition, etc...} -> {DocList} structure
cache, I think.
Thanks,
Yasufumi
2018年5月18日(金) 23:41 rubi.hali :
> Hi All
>
> Can somebody please explain if we can c
Hi All
Can somebody please explain if we can cache solr grouping results in query
result cache as i dont see any inserts in query result cache once we enabled
grouping?
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
We use grouping, so will try collapsing. Thank you for ideas!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-4-10-3-cached-grouping-results-but-Solr-5-2-1-don-t-why-tp4224396p4224857.html
Sent from the Solr - User mailing list archive at Nabble.com.
ody knows or has the same issue?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-4-10-3-cached-grouping-results-but-Solr-5-2-1-don-t-why-tp4224396p4224812.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Nobody knows or has the same issue?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-4-10-3-cached-grouping-results-but-Solr-5-2-1-don-t-why-tp4224396p4224812.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
we have changed Solr from 4.10.3 to 5.2.1 and we don't know why, but 4.10.3
was caching grouping results and the new 5.2.1 don't.
Any suggestion howto cache results? We have 140M docs and some results takes
up to 60 secs, so cache will be good. :)
I red that grouping using f
sults are 2 from each id.
id-48 results
id-12 results
id-22 results
id-32 results
id-52 results
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-Results-tp4114986.html
Sent from the Solr - User mailing list archive at Nabble.com.
that *group.offset* doesn't work if we use *group.main=true*
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174p4109316.html
Sent from the Solr - User mailing list archive at Nabble.com.
group.ngroups=true)
> but in some group I have number of found result lesser than limit.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174p4108906.html
>
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
--
All the best
Liu Bo
he is only workaround for problem but
> it's to much expensive to go through all the groups and calculate total
> number of found/returned (I use PHP for client:) ).
>
> @iorixxx
> Yes, I consider that (group.ngroups=true)
> but in some group I have number of found result lesse
xxx
Yes, I consider that (group.ngroups=true)
but in some group I have number of found result lesser than limit.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174p4108906.html
Sent from the Solr - Use
ski
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: Re: Grouping results with group.limit return wrong numFound ?
:
: @kamaci
: Ofcourse. That is the problem.
:
: "group.limit is: the number of results (documents) to return for each
: group."
: NumFound
expensive to go through all the groups and calculate total
number of found/returned (I use PHP for client:) ).
@iorixxx
Yes, I consider that (group.ngroups=true)
but in some group I have number of found result lesser than limit.
--
View this message in context:
http://lucene.472066.n3.nabble.com/G
s per one publisher.q=book_title: solr
> > php&group=true&group.field=publisher&group.limit=3&group.main=trueI have
> for
> > apress publisher 20 results but I show only 3 that works OKBut in
> numFound I
> > still have 20 for apress publisher...
> >
&g
ults but I show only 3 that works OKBut in
> numFound I
> > still have 20 for apress publisher...
> >
> >
> >
> > --
> > View this message in context:
>
> http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
--
All the best
Liu Bo
imit=3&group.main=trueI have
for
> apress publisher 20 results but I show only 3 that works OKBut in
numFound I
> still have 20 for apress publisher...
>
>
>
> --
> View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wron
http://lucene.472066.n3.nabble.com/Excluding-terms-in-grouping-results-tp4108280.html
Sent from the Solr - User mailing list archive at Nabble.com.
r
apress publisher 20 results but I show only 3 that works OKBut in numFound I
still have 20 for apress publisher...
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174.html
Sent from the Solr - User mailing list archive at Nabble.com.
because q matched the name field.
there's a difference between *grouping* results by a query, and *counting*
which sbset of your request match your query.
in generla, it sounds like you are probably currently using something like
dismax or edismax to search across multiple fields
Not sure if you are looking for this..
http://wiki.apache.org/solr/FieldCollapsing
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-based-on-the-field-which-matched-the-query-tp4065670p4066882.html
Sent from the Solr - User mailing list archive at
Hi Thank you for the reply.
On Fri, Feb 8, 2013 at 12:32 PM, Prakhar Birla wrote:
> Hi Rajani,
>
> I recently tried to solve a similar problem as the one you have. (I think)
> Solr doesn't support a param to achieve this because if we were to limit
> the no of documents returned, to get the next
Hi Rajani,
I recently tried to solve a similar problem as the one you have. (I think)
Solr doesn't support a param to achieve this because if we were to limit
the no of documents returned, to get the next result set the starting
offset of each group will be different based on the number of
documen
Hi all,
Is there any parameter which will set the number of document returned
after applying grouping on results? Like we have query.setRows for results
without grouping?
I know all the below functions will set to group param. But this will not
limit number of document returned. We want to
Thanks Tomás and Juan...
I got the expected results when i updated solr to v3.5.0
--
View this message in context:
http://lucene.472066.n3.nabble.com/Grouping-results-after-Sorting-or-vice-versa-tp3615957p3669299.html
Sent from the Solr - User mailing list archive at Nabble.com.
>
>
> 1321dff33cecd5f4_1
> 1321dff33cecd5f4
> 1314956314000
> <.. Some Other fields here ..>
> Some subject here...
> Some message here...
>
> 1326c5cc09bbc99a_1
> 1326c5cc09bbc99a
> 1316078009000
> <.. Some Other fields here ..>
> Some subject here...
> Some message here...
>
>
> Is it possible to get such results? If yes, how?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Grouping-results-after-Sorting-or-vice-versa-tp3615957p3618172.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
cecd5f4
1314956314000
<.. Some Other fields here ..>
Some subject here...
Some message here...
1326c5cc09bbc99a_1
1326c5cc09bbc99a
1316078009000
<.. Some Other fields here ..>
Some subject here...
Some message here...
Is it possible to get such results? If yes, how?
--
uld be sorted based on "date" and also grouped by
> "threadid"... how it can be done?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Grouping-results-after-Sorting-or-vice-versa-tp3615957p3615957.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
ate%20desc&sort=date%20desc
where "threadid" is a hexadecimal string which is common for more than 1
message, and "date" is in unix timestamp format.
The results should be sorted based on "date" and also grouped by
"threadid"... how it can be done?
--
View
^10+cat_en^10++review^20&hl.fl=review&json.nl=map&wt=json&defType=edismax&rows=10&spellcheck.accuracy=0.6&start=0&q=smart&group.truncate=true&group=true&indent=on
Please Advise,
--
View this message in context:
http://lucene.472066.n3.nabble.com/Facet-count-problem-Multi-Select-Faceting-After-grouping-results-tp3346267p3346267.html
Sent from the Solr - User mailing list archive at Nabble.com.
I'm not sure this is what you are looking for, but you may try to use
fq parameter? &q=*:*&fq=xxx:A&rows=10 for "at most 10 docs with xxx=A".
http://wiki.apache.org/solr/CommonQueryParameters#head-6522ef80f22d0e50d2f12ec487758577506d6002
Koji
Branca Marco wrote:
Hi,
I have a question about fa
Hi,
I have a question about faceting.
I'm trying to retrieve results grouped by a certain field. I know that I can
specify the parameter "rows" in order to ask Solr to return only "rows"
documents.
What I would like to do is to ask Solr to return a certain number of documents
for each category f
33 matches
Mail list logo