Re: Sort on multivalued attributes

2015-02-10 Thread Flavio Pompermaier
I could but I think that this could be handled natively in solr :) On Mon, Feb 9, 2015 at 4:58 PM, Alexandre Rafalovitch wrote: > Could you inject an UpdateRequestProcesssor into the processing chain? Then > you could copy the field to a sort specific field and choose only one > value. And use d

Re: Sort on multivalued attributes

2015-02-09 Thread Alexandre Rafalovitch
Could you inject an UpdateRequestProcesssor into the processing chain? Then you could copy the field to a sort specific field and choose only one value. And use docValues for faster sort too. Regards, Alex On 9 Feb 2015 4:33 am, "Flavio Pompermaier" wrote: > In my use case it could be very

Re: Sort on multivalued attributes

2015-02-09 Thread Bill Bell
Definitely needed !! Bill Bell Sent from mobile > On Feb 9, 2015, at 5:51 AM, Jan Høydahl wrote: > > Sure, vote for it. Number of votes do not directly make prioritized sooner. > So you better also add a comment to the JIRA, it will raise committer's > attention. > Even better of course is if

Re: Sort on multivalued attributes

2015-02-09 Thread Flavio Pompermaier
Ok, done :) On Mon, Feb 9, 2015 at 1:51 PM, Jan Høydahl wrote: > Sure, vote for it. Number of votes do not directly make prioritized sooner. > So you better also add a comment to the JIRA, it will raise committer's > attention. > Even better of course is if you are able to help bring the issue f

Re: Sort on multivalued attributes

2015-02-09 Thread Jan Høydahl
Sure, vote for it. Number of votes do not directly make prioritized sooner. So you better also add a comment to the JIRA, it will raise committer's attention. Even better of course is if you are able to help bring the issue forward by submitting patches. -- Jan Høydahl, search solution architect

Re: Sort on multivalued attributes

2015-02-09 Thread Flavio Pompermaier
Do I have to vote for it..? On Mon, Feb 9, 2015 at 11:50 AM, Jan Høydahl wrote: > See https://issues.apache.org/jira/browse/SOLR-2522 > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > > 9. feb. 2015 kl. 10.30 skrev Flavio Pompermaier : > > > > In my use case

Re: Sort on multivalued attributes

2015-02-09 Thread Jan Høydahl
See https://issues.apache.org/jira/browse/SOLR-2522 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 9. feb. 2015 kl. 10.30 skrev Flavio Pompermaier : > > In my use case it could be very helpful because I use the SIREn plugin to > index arbitrary JSON-LD and this plug

Re: Sort on multivalued attributes

2015-02-09 Thread Flavio Pompermaier
In my use case it could be very helpful because I use the SIREn plugin to index arbitrary JSON-LD and this plugin automatically index also all nested attributes as a Solr field. Thus I need for example to gather all entries with a certain value of the "type" attribute, ordered by "name" (but name c

Re: Sort on multivalued attributes

2015-02-09 Thread Anshum Gupta
Sure, that's correct and makes sense in some use cases. I'll need to check if Solr functions support such a thing. On Mon, Feb 9, 2015 at 12:47 AM, Flavio Pompermaier wrote: > I saw that this is possible in Lucene ( > https://issues.apache.org/jira/browse/LUCENE-5454) and also in > Elasticsearch

Re: Sort on multivalued attributes

2015-02-09 Thread Flavio Pompermaier
I saw that this is possible in Lucene ( https://issues.apache.org/jira/browse/LUCENE-5454) and also in Elasticsearch. Or am I wrong? On Mon, Feb 9, 2015 at 9:05 AM, Anshum Gupta wrote: > Unless I'm missing something here, sorting on a multi-valued field would be > non-deterministic in nature. >

Re: Sort on multivalued attributes

2015-02-09 Thread Anshum Gupta
Unless I'm missing something here, sorting on a multi-valued field would be non-deterministic in nature. On Sun, Feb 8, 2015 at 11:59 PM, Flavio Pompermaier wrote: > Hi to all, > > Is there any possibility that in the near future Solr could support sorting > on multivalued fields? > > Best, > Fl

Sort on multivalued attributes

2015-02-09 Thread Flavio Pompermaier
Hi to all, Is there any possibility that in the near future Solr could support sorting on multivalued fields? Best, Flavio