You might be able to sort by the map function q=*:*&sort=map(price,0,100,
10) asc, price asc.
Phil
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: 25 November 2011 13:49
To: solr-user@lucene.apache.org
Subject: Re: Sort question
Not that I kno
last.
>
> Eg sorting by price asc should look like this:
> 75000
> 10
> 15
> 225000
> 1
> 40
> 50
>
> Is this possible?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Sort-question-tp3530070p3530070.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
00
1
40
50
Is this possible?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sort-question-tp3530070p3530070.html
Sent from the Solr - User mailing list archive at Nabble.com.
t;
> Don't you think?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Regards,
Dmitry Kan
ucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html
Sent from the Solr - User mailing list archive at Nabble.com.
would the same behavior with TermComponent.
>
> Is it possible?
>
> Thanks.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2980683.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Regards,
Dmitry Kan
Help me please...
--
View this message in context:
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2986185.html
Sent from the Solr - User mailing list archive at Nabble.com.
No one has an idea?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2983776.html
Sent from the Solr - User mailing list archive at Nabble.com.
; has max score than
"Near Rome". I would the same behavior with TermComponent.
Is it possible?
Thanks.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2980683.html
Sent from the Solr - User mailing list archive at Nabble.com.
Yep, I get it. But from the tests I did it tips it enough for those
cases to be rare (and probably justified).
Thx
On 3/19/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: wouldn't doing something like this in the query :
: (field1:tag1 tag2) OR (field1:tag1 AND tag2)
: The documents that have
: wouldn't doing something like this in the query :
: (field1:tag1 tag2) OR (field1:tag1 AND tag2)
: The documents that have all the tags (tag1 and tag2) will comply with
: both conditions and get scores from both while the documents that
: don't have both tags will only get a score from the 1st
An example would help. A query and the results that you see.
wunder
On 3/18/07 6:48 PM, "shai deljo" <[EMAIL PROTECTED]> wrote:
> I assumed the tf/idf would behave like this but it's behaving VERY
> differently/wrong so i wonder maybe something is wrong with my
> indexing strategy ?
> I think fo
Hey Chris,
wouldn't doing something like this in the query :
(field1:tag1 tag2) OR (field1:tag1 AND tag2)
Achieve similar affect ?
The documents that have all the tags (tag1 and tag2) will comply with
both conditions and get scores from both while the documents that
don't have both tags will on
I assumed the tf/idf would behave like this but it's behaving VERY
differently/wrong so i wonder maybe something is wrong with my
indexing strategy ?
I think for a quicker solution (ok, hack :) ) I'll run two different
queries (AND, OR) and merge them.
Does SOLR support some kind of merging i can
: How do i force SOLR to score documents that contain ALL terms 1st
: before results that contain some of the terms?
generally speaking this is hte result you will usually on random data ...
under the covers Lucene uses TF/IDF based weighting of terms, with a coord
factor that penalizes queries t
How do i force SOLR to score documents that contain ALL terms 1st
before results that contain some of the terms?
The problem is that i don't want to use an AND (since i am also
interested in the OR results) but i do want to score documents that
contain all terms higher.
Please advise,
Thanks
16 matches
Mail list logo