Re: A sorting question.

2012-03-06 Thread Chris Hostetter
: problem becomes from MoreLikeThis behaviour. As you probably know that Solr : feature only suggests similar components by the first - and only - document : returned from the original query. That is if you have a query that returns : 5 documents (a query with five IDs with OR boolean clauses, lik

Re: A sorting question.

2012-03-05 Thread Luis Cappa Banda
Sometimes the solution is so easy that I can't see it in front of me. Thanks, Mikhail! 2012/3/3 Mikhail Khludnev > Hi Luis, > > Do you mean > > q=id:(A^10+OR+B^9+OR+C^8+OR...) > I'm not sure whether it woks but > > q=id:A^10+OR+id:B^9+OR+id:C^8+OR...) > > definitely does > > On Fri, Mar 2, 201

Re: A sorting question.

2012-03-03 Thread Mikhail Khludnev
Hi Luis, Do you mean q=id:(A^10+OR+B^9+OR+C^8+OR...) I'm not sure whether it woks but q=id:A^10+OR+id:B^9+OR+id:C^8+OR...) definitely does On Fri, Mar 2, 2012 at 1:13 PM, Luis Cappa Banda wrote: > Hello! > > Just a brief question. I'm querying by my docs ids to retrieve the whole > document d

Re: A sorting question.

2012-03-03 Thread Luis Cappa Banda
Hi, Erick! And thank you for answering! You always answer my questions, :-) Well, I´ll try to explain better, because the context is more complex. The original problem becomes from MoreLikeThis behaviour. As you probably know that Solr feature only suggests similar components by the first - and on

Re: A sorting question.

2012-03-02 Thread Erick Erickson
I'm not quite sure what you mean by "order with numeric logic". You're right, the default ordering is by score. I can't think of anything that would arbitrarily sort by a varying input string, that is id:(a OR b OR c OR d) would sort differently than id:(b OR a OR d Or c). Perhaps if you outlined

Re: A sorting question.

2012-03-02 Thread Luis Cappa Banda
The only reference I found is: http://stackoverflow.com/questions/5753079/solr-query-without-order Anyone had the same problem? Maybe using a dynamic field could solve this issue? Thanks! Luis Cappa. 2012/3/2 Luis Cappa Banda > Hello! > > Just a brief question. I'm querying by my docs ids

A sorting question.

2012-03-02 Thread Luis Cappa Banda
Hello! Just a brief question. I'm querying by my docs ids to retrieve the whole document data from them, and I would like to retrieve them in the same order as I queried. Example: *q*=id:(A+OR+B+OR+C+OR...) And I would like to get a response with a default order like: response: *docA*:{