On Wed, Feb 14, 2018 at 7:24 PM, Wei wrote:
> Thanks Yonik. If uif has big upfront cost when hits solr the first time,
> in solr cloud the same faceting request could hit different replicas in the
> same shard, so that cost will happen at least for the number of replicas?
>
Thanks Yonik. If uif has big upfront cost when hits solr the first time,
in solr cloud the same faceting request could hit different replicas in the
same shard, so that cost will happen at least for the number of replicas?
If we are doing frequent auto commits, fieldvaluecache will be invalidated
On Wed, Feb 14, 2018 at 2:28 PM, Wei wrote:
> Thanks all! It's really great learning. A bit off the topic, after I
> enabled facet.method = uif in solr cloud, the faceting performance is
> actually much worse than the original fc( ~1000 ms with uif vs ~200 ms
> with fc).
Thanks all! It's really great learning. A bit off the topic, after I
enabled facet.method = uif in solr cloud, the faceting performance is
actually much worse than the original fc( ~1000 ms with uif vs ~200 ms
with fc). My cloud has 8 shards with 6 replicas in each shard. I do see
that
Great, thanks for tracking that down!
It's interesting that a mincount of 0 disables uif processing in the
first place. IIRC, it's only the hash-based method (as opposed to
array-based) that can't return zero counts.
-Yonik
On Tue, Feb 13, 2018 at 6:17 AM, Alessandro Benedetti
*Update* : This has been actually already solved by Hoss.
https://issues.apache.org/jira/browse/SOLR-11711 and this is the Pull
Request : https://github.com/apache/lucene-solr/pull/279/files
This should go live with 7.3
Cheers
-
---
Alessandro Benedetti
Search Consultant, R
+1
I believe it is a bug related to that patch in some way.
facet.distrib.mco ( the naming is not very explicit) should activate the
feature in the patch, which forces the mincount in the distributed requests
to be set to 1.
The normal behavior expected is that you pass to the distributed
Feels like we should open an issue for this (that facet.method=uif is
only respected if you specify another esoteric parameter...)
-Yonik
On Mon, Feb 12, 2018 at 8:34 PM, Wei wrote:
> Adding facet.distrib.mco=true did the trick. Thanks Toke and Alessandro!
>
> Cheers,
>
Adding facet.distrib.mco=true did the trick. Thanks Toke and Alessandro!
Cheers,
Wei
On Thu, Feb 8, 2018 at 1:23 AM, Toke Eskildsen wrote:
> On Fri, 2018-02-02 at 17:40 -0800, Wei wrote:
> > I tried to debug a bit and see that when executing on a cloud solr
> > server, although I
On Fri, 2018-02-02 at 17:40 -0800, Wei wrote:
> I tried to debug a bit and see that when executing on a cloud solr
> server, although I put
> facet.field=color=*:*=uif=1 in
> the request url, at the point it reaches SimpleFacet inside
> req.params it somehow has been rewritten
> to
What happens if you set f.color.facet.mincount=1 from the beginning ?
Are you faceting on multiple fields ?
Good news we found out the first mistery though ! :)
Cheers
-
---
Alessandro Benedetti
Search Consultant, R Software Engineer, Director
Sease Ltd. - www.sease.io
--
Sent
I tried to debug a bit and see that when executing on a cloud solr server,
although I put facet.field=color=*:*=uif=1 in
the request url, at the point it reaches SimpleFacet inside req.params it
somehow has been rewritten to f.color.facet.mincount=0, no wonder the
method chosen become FC. So one
" Looks like when using the json facet api,
SimpleFacets is not used, replaced by FacetFieldPorcessorByArrayUIF "
That is expected, I remember Yonik to stress the fact that it is a
completely different approach to faceting ( and different components and
classes are involved).
But your first
Thanks Alessandro. Totally agree that from the logic I can't see why the
requested facet.method=uif is not accepted. I don't see anything in
solr.log also. However I find that the uif method somehow works with json
facet api in cloud mode, e.g:
curl
I worked personally on the SimpleFacets class which does the facet method
selection :
FacetMethod appliedFacetMethod = selectFacetMethod(field,
sf, requestedMethod, mincount,
exists);
RTimer timer = null;
if (fdebug != null)
Hi,
I am using the following parameters for faceting, request solr to use the
UIF method;
=on=color=*:*=uif=1=true
It works as expected in my local standalone solr:
- facet-debug:
{
- elapse: 2,
- sub-facet:
[
-
{
- processor:
16 matches
Mail list logo