Re: Need a group custom function(fieldcollapsing)

2016-03-15 Thread Binoy Dalal
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

Re: Need a group custom function(fieldcollapsing)

2016-03-15 Thread Abhishek Mishra
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

Need a group custom function(fieldcollapsing)

2016-03-14 Thread Abhishek Mishra
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

Re: FieldCollapsing issues in SolrCloud 4.4

2013-07-31 Thread Paul Masurel
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

Re: FieldCollapsing issues in SolrCloud 4.4

2013-07-31 Thread Ali, Saqib
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

Re: FieldCollapsing issues in SolrCloud 4.4

2013-07-31 Thread Paul Masurel
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

FieldCollapsing issues in SolrCloud 4.4

2013-07-30 Thread Ali, Saqib
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.

FieldCollapsing/Grouping

2012-08-10 Thread mechravi25
http://lucene.472066.n3.nabble.com/FieldCollapsing-Grouping-tp4000468.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: queryResultCache not checked with fieldCollapsing

2012-07-19 Thread Chris Hostetter
: 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

queryResultCache not checked with fieldCollapsing

2012-07-13 Thread Mike Schultz
com/queryResultCache-not-checked-with-fieldCollapsing-tp3994954.html Sent from the Solr - User mailing list archive at Nabble.com.

solr FieldCollapsing, label and locale parameter

2012-01-25 Thread Ralf Matulat
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

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
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.

Re: FieldCollapsing don't return every groups

2011-09-28 Thread Rémy Loubradou
;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. >

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
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

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
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.

Re: FieldCollapsing don't return every groups

2011-09-28 Thread Rémy Loubradou
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. >

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
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

FieldCollapsing don't return every groups

2011-09-28 Thread Rémy Loubradou
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

Re: Reading results from FieldCollapsing

2011-09-08 Thread Erick Erickson
t; I downloaded the latest build from ( >>> >> >> >> >> >>> >> >> >> >>> >> >> >>> >> >> >>> https://builds.apache.org/job/Solr-3.x/lastSuccessfulBuild/artifact/artifacts/ >>> >&g

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
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 >> >>

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
> >> 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 > >> >>

Re: Reading results from FieldCollapsing

2011-09-07 Thread Erick Erickson
>> 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

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
t; >>> Erick > >> >> >>> > >> >> >>> On Tue, Aug 30, 2011 at 11:09 AM, Sowmya V.B. < > vbsow...@gmail.com> > >> >> wrote: > >> >> >>> > Hi Erick > >> >> >>> > > >> >> >>&

Re: Reading results from FieldCollapsing

2011-09-07 Thread Erick Erickson
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

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
; > > >> >>> > I found some information about Collapse Component on googling, > which > >> >>> looks > >> >>> > like a normal Solr XML results format. > >> >>> > > >> >>> > >> > http://

Re: Reading results from FieldCollapsing

2011-09-07 Thread Erick Erickson
;> >>> >> 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

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
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

Re: Reading results from FieldCollapsing

2011-08-31 Thread Martijn v Groningen
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

Re: Reading results from FieldCollapsing

2011-08-31 Thread Erick Erickson
> >> 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

Re: Reading results from FieldCollapsing

2011-08-31 Thread Sowmya V.B.
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

Re: Reading results from FieldCollapsing

2011-08-30 Thread Erick Erickson
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

Re: Reading results from FieldCollapsing

2011-08-30 Thread Sowmya V.B.
_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

Re: Reading results from FieldCollapsing

2011-08-30 Thread Erick Erickson
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

Reading results from FieldCollapsing

2011-08-30 Thread Sowmya V.B.
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

Fieldcollapsing patch not applied properly

2011-05-12 Thread Isha Garg
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

Fieldcollapsing patxh not applied properly

2011-05-12 Thread Isha Garg
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

Re: Difference between Faceting & Fieldcollapsing

2011-03-08 Thread Jan Høydahl
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

Difference between Faceting & Fieldcollapsing

2011-03-08 Thread Isha Garg
Hi, Can anyone explain in which scenario faceting & field collapsing is used .What is the difference between these two. Best Regards! Isha

FieldCollapsing

2011-02-21 Thread Mark
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

Re: FieldCollapsing and Stats or Sum ?!

2010-10-27 Thread stockiii
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

Re: FieldCollapsing and Stats or Sum ?!

2010-10-26 Thread Lance Norskog
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

Re: FieldCollapsing: Two response elements returned?

2009-07-29 Thread Licinio Fernández Maurelo
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

Re: FieldCollapsing: Two response elements returned?

2009-07-29 Thread Licinio Fernández Maurelo
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 >> >> > > --

Re: FieldCollapsing: Two response elements returned?

2009-07-28 Thread Marc Sturlese
; ... > ... > > 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.

FieldCollapsing: Two response elements returned?

2009-07-27 Thread Jay Hill
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