What you need is a search component. I've written an example on how to use
one.
Check https://github.com/lttazz99/SolrPluginsExamples
On Tue, 15 Mar 2016, 13:37 Abhishek Mishra, wrote:
> Any update on this???
>
> On Mon, Mar 14, 2016 at 4:06 PM, Abhishek Mishra
> wrote:
>
> > Hi all
> > We are
Any update on this???
On Mon, Mar 14, 2016 at 4:06 PM, Abhishek Mishra
wrote:
> Hi all
> We are running on solr5.2.1 . Now the requirement come that we need the
> data on basis on some algo. The algorithm part we need to put on result
> obtained from query. So best we can do is using
> group.fie
Hi all
We are running on solr5.2.1 . Now the requirement come that we need the
data on basis on some algo. The algorithm part we need to put on result
obtained from query. So best we can do is using
group.field,group.main,group.func. In group.func we need to use custom
function which will run the a
If your issue is that you want to retrieve the number of groups,
group.ngroups will return the sum of the number of groups per shard.
This is not the number of groups overall as there if some groups are present
on more than one shard.
To make sure that this does not happen, one can choose to dist
Hello Paul,
Can you please explain what you mean by:
"To get the exact number of groups, you need to shard along your grouping
field"
Thanks! :)
On Wed, Jul 31, 2013 at 3:08 AM, Paul Masurel wrote:
> Do you mean you get different results with group=true?
> numFound is supposed returns the numb
Do you mean you get different results with group=true?
numFound is supposed returns the number of ungrouped hits.
To get the number of groups, you are expected to set
set group.ngroups=true.
Even then, the result will only give you an upperbound
in a distributed environment.
To get the exact numbe
Hello all,
Is anyone experiencing issues with the numFound when using group=true in
SolrCloud 4.4?
Sometimes the results are off for us.
I will post more details shortly.
Thanks.
http://lucene.472066.n3.nabble.com/FieldCollapsing-Grouping-tp4000468.html
Sent from the Solr - User mailing list archive at Nabble.com.
: When I run dismax queries I see there are no lookups in the
: queryResultCache. If I remove the field collapsing - lookups happen. I
: can't find any mention of this anywhere or think of reason why this should
I'm not very familiar with the grouping code, but i think the
crux of what you are
com/queryResultCache-not-checked-with-fieldCollapsing-tp3994954.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
I'm using FieldCollapsing to group the results. Example: I search for
/:/ and group by names, like:
|http://localhost:/solr/select/?q=*:*
&group=true
&group.limit=200
&am
excellent !
and yes, il fait très beau en France :)
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376362.html
Sent from the Solr - User mailing list archive at Nabble.com.
;true"/>
>
> I think you could even disable the stored value for this particular field
> (not sure, I have to check).
>
> Ludovic.
>
> -
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376289.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
I just checked, you can disable the storing parameter and use this field:
Ludovic.
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376316.html
Sent from the Solr - User mailing list archive at
ored value for this particular field
(not sure, I have to check).
Ludovic.
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376289.html
Sent from the Solr - User mailing list archive at Nabble.com.
quot;Rémy Loubradou" can be indexed as "remy" and "loubradou".
>
> And "Rémy NotLoubradou" could be grouped with "Rémy Loubradou".
>
> This could explain the behavior.
>
> Ludovic.
>
>
> -
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376089.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
ex (not "string"),
"Rémy Loubradou" can be indexed as "remy" and "loubradou".
And "Rémy NotLoubradou" could be grouped with "Rémy Loubradou".
This could explain the behavior.
Ludovic.
-
Jouve
France.
--
View this message in cont
Hello,
I'm using the field collapsing feature to group my products by merchant and
I don't understand why some merchant are missing on the result send by solr.
My request is
http:/localhost:8983/solr/select/?q=merchant_name_t:*&version=2.2&start=0&rows=2000&indent=on&group=true&group.field=merchan
t; I downloaded the latest build from (
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >> >>
>>> https://builds.apache.org/job/Solr-3.x/lastSuccessfulBuild/artifact/artifacts/
>>> >&g
gt;> >>
>> >> >> >> >> The SolrJ in 3.4 does seem to have something like
>> GroupResponse,
>> >> >> >> >> GroupCommand classes, which might be the ones I am looking for
>> >> >> (though I
>> >> >> >> am
>> >>
> >> On Tue, Aug 30, 2011 at 5:14 PM, Erick Erickson <
> >> >> >> erickerick...@gmail.com>wrote:
> >> >> >> >>
> >> >> >> >>> Ahhh, see: https://issues.apache.org/jira/browse/SOLR-2637
> >> >>
>> Short form: It's in 3.4, not 3.3.
>> >> >> >>>
>> >> >> >>> So, your choices are:
>> >> >> >>> 1> parse the XML yourself
>> >> >> >>> 2> get a current 3x build (as in o
t; >>> Erick
> >> >> >>>
> >> >> >>> On Tue, Aug 30, 2011 at 11:09 AM, Sowmya V.B. <
> vbsow...@gmail.com>
> >> >> wrote:
> >> >> >>> > Hi Erick
> >> >> >>> >
> >> >> >>&
t; >>> > Yes, I did see the XML format. But, I did not understand how to
>> read
>> >> the
>> >> >>> > response using SolrJ.
>> >> >>> >
>> >> >>> > I found some information about Collapse
; >
> >> >>> > I found some information about Collapse Component on googling,
> which
> >> >>> looks
> >> >>> > like a normal Solr XML results format.
> >> >>> >
> >> >>>
> >>
> http://
;> >>>
>> http://blog.jteam.nl/2009/10/20/result-grouping-field-collapsing-with-solr/
>> >>> >
>> >>> > However, this class CollapseComponent does not seem to exist in Solr
>> >>> > 3.3. (org.apache.solr.handler.compon
rg.apache.solr.handler.component.CollapseComponent)
> >>> > was the component mentioned in that link, which is not there in
> Solr3.3
> >>> > class files.
> >>> >
> >>> > Sowmya.
> >>> >
> >>> > On Tue, Aug
g 30, 2011 at 4:48 PM, Erick Erickson >> >wrote:
>>> >
>>> >> Have you looked at the XML (or JSON) response format?
>>> >> You're right, it is different and you have to parse it
>>> >> differently, there are move levels. Try this quer
> >> You're right, it is different and you have to parse it
>> >> differently, there are move levels. Try this query
>> >> and you'll see the format (default data set).
>> >>
>> >> http://localhost:8983/solr/select?q=*:*&group=o
Try this query
> >> and you'll see the format (default data set).
> >>
> >> http://localhost:8983/solr/select?q=*:*&group=on&group.field=manu_exact
> >>
> >>
> >> Best
> >> Erick
> >>
> >> On Tue, Aug 3
rmat (default data set).
>>
>> http://localhost:8983/solr/select?q=*:*&group=on&group.field=manu_exact
>>
>>
>> Best
>> Erick
>>
>> On Tue, Aug 30, 2011 at 9:25 AM, Sowmya V.B. wrote:
>> > Hi All
>> >
>> > I am trying to u
_exact
>
>
> Best
> Erick
>
> On Tue, Aug 30, 2011 at 9:25 AM, Sowmya V.B. wrote:
> > Hi All
> >
> > I am trying to use FieldCollapsing feature in Solr. On the Solr admin
> > interface, I give "...&group=true&group.field=fieldA" and I can s
t
Best
Erick
On Tue, Aug 30, 2011 at 9:25 AM, Sowmya V.B. wrote:
> Hi All
>
> I am trying to use FieldCollapsing feature in Solr. On the Solr admin
> interface, I give "...&group=true&group.field=fieldA" and I can see grouped
> results.
> But, I am not able to
Hi All
I am trying to use FieldCollapsing feature in Solr. On the Solr admin
interface, I give "...&group=true&group.field=fieldA" and I can see grouped
results.
But, I am not able to figure out how to read those results in that order on
java.
Something like: SolrDo
Hi kai,
As per your previous mails you have already applied the
patches with solr 1.4.I followed the steps of your mail accordingly .
But During step 9 i got the error
# 1 out of 1 hunked failed.When I apply ony
SOLR-236-1_4_1-paging-totals-working.patch it build successfully but the
c
Hi kai,
as per your previous mails you have already applied the
patches with solr 1.4.I followed the steps of your mail accordingly .
But During step 9 i got the error
# 1 out of 1 hunked failed.When I apply ony
SOLR-236-1_4_1-paging-totals-working.patch it build successfully but the
Faceting is returned independently of your result set, telling you how many
documents contain each facet.
Field collapsing / grouping modifies your result set to "roll up" multiple hits
sharing the same collapse key, much like Google does to hide more results from
same site.
You may use a fiel
Hi,
Can anyone explain in which scenario faceting & field collapsing is
used .What is the difference between these two.
Best Regards!
Isha
Checked out a version of 4.0 to test field collapsing. When I field
collapse the numFound always returns the number of documents BEFORE
collapsing. Is there a way to get the total number of documents after
collapsing?
Thanks
okay.
i want one number per group. yes its similar to the "group by" command.
is there another way to get this ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/FieldCollapsing-and-Stats-or-Sum-tp1773842p1778731.html
Sent from the Solr - User mailing list
is in several
> requests ?
> maybe first grouping and then using the statsComponent to get the sum of the
> group by sending a new request with the filter ? but then i dont need
> grouping !?!?
>
> thx =)
> --
> View this message in context:
> http://lucene.472066.n3.nabble
h field collapsing, and early results look good.
>>> One thing seems odd to me however. I would expect to get back one block of
>>> results, but I get two - the first one contains the collapsed results, the
>>> second one contains the full non-collapsed results:
>>>
>>> ...
>>> ...
>>>
>>> This seems somewhat confusing. Is this intended or is this a bug?
>>>
>>> Thanks,
>>> -Jay
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/FieldCollapsing%3A-Two-response-elements-returned--tp24690426p24693960.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Lici
>
--
Lici
et two - the first one contains the collapsed results, the
>> second one contains the full non-collapsed results:
>>
>> ...
>> ...
>>
>> This seems somewhat confusing. Is this intended or is this a bug?
>>
>> Thanks,
>> -Jay
>>
>>
>
> --
; ...
> ...
>
> This seems somewhat confusing. Is this intended or is this a bug?
>
> Thanks,
> -Jay
>
>
--
View this message in context:
http://www.nabble.com/FieldCollapsing%3A-Two-response-elements-returned--tp24690426p24693960.html
Sent from the Solr - User mailing list archive at Nabble.com.
I'm doing some testing with field collapsing, and early results look good.
One thing seems odd to me however. I would expect to get back one block of
results, but I get two - the first one contains the collapsed results, the
second one contains the full non-collapsed results:
...
...
This see
45 matches
Mail list logo