Hey David,
Thanks for your suggestions! I think I’ve got the right behaviour now; I’ve
done fq={!parent which=is_parent:true score=total v='+is_parent:false
+{!func}density'} desc instead of sort=…
Side note: the grid cells can be POLYGON or MULTIPOLYGON, so BBoxField didn’t
work when I tried
quote: "The problem is that this includes children that DON’T touch the
search area in the sum. How can I only include the shapes from the first
query above in my sort?"
Unless I'm misunderstanding your intent, I think this is a simple matter of
adding the spatial filter to the parent join query y
: Unless i'm missing something: FuzzyQuery defaults to using the
: "TopTermsScoringBooleanQueryRewrite" method based on the terms found in
: the index that match the fuzzy expression. So the results of a simple
: fuzzy query should already come back based on the tf/idf scores of the
: terms.
: Thanks for you replycan you please check the following details and
: give me suggestions how can i do it, then it will be more helpful to me
you need to show us some examples of your documents and the
debugQuery=true output for those documents for us to better understand the
behavior
Hi alex,
Thanks for you replycan you please check the following details and
give me suggestions how can i do it, then it will be more helpful to me
i am passing query parameters like
http://localhost:8080/solr/core/c=cityname&s=iphne+4&s1=iphne~0.5&s2=4~0.5
here "s" is the main strin
On 18 September 2013 12:39, Alexandre Rafalovitch wrote:
> The default sort is by relevancy. So, if you are getting it in the wrong
> order, it think it is relevant in different ways. Depending on algorithm
> you use, there are different boosting functions.
[...]
Also, you can get an explanation
The default sort is by relevancy. So, if you are getting it in the wrong
order, it think it is relevant in different ways. Depending on algorithm
you use, there are different boosting functions.
You may need to give more details. Algorithm, how would you know if
relevance sorting working, etc.
Re
oday if the current time is before noon."
>
> But use "*" and you will be better off anyway.
>
> -- Jack Krupansky
>
> -Original Message- From: Jack Krupansky
> Sent: Thursday, May 30, 2013 8:27 AM
>
> To: solr-user@lucene.apache.org
> Subject:
---Original Message-
From: Jack Krupansky
Sent: Thursday, May 30, 2013 8:27 AM
To: solr-user@lucene.apache.org
Subject: Re: Sorting results by last update date
You can just use "NOW/DAY" for a filter that would only change once a day:
[NOW/DAY-60DAY TO NOW/DAY]
Oops... ma
--Original Message-
From: Kamal Palei
Sent: Thursday, May 30, 2013 5:41 AM
To: solr-user@lucene.apache.org
Subject: Re: Sorting results by last update date
Thanks Shalini...
It is solr 3.6.2
Instead of NOW, I can use today's date (I did not know this cache
issue,, thanks).
Later I real
&sort=last_updated_date desc
Maybe adding %20 will help:
&sort=last_updated_date%20desc
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-results-by-last-update-date-tp4066692p4066986.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks Shalini...
It is solr 3.6.2
Instead of NOW, I can use today's date (I did not know this cache
issue,, thanks).
Later I realized , it looks it is my mistake that misleads asc and desc
ordering result.
After I get data from solr, again I do mysql query where the order changes
again.
Reg
On Wed, May 29, 2013 at 12:10 PM, Kamal Palei wrote:
> Hi All
> I am trying to sort the results as per last updated date. My url looks as
> below.
>
> *&fq=last_updated_date:[NOW-60DAY TO NOW]&fq=experience:[0 TO
> 588]&fq=salary:[0 TO 500] OR
>
> salary:0&fq=-bundle:job&fq=-bundle:panel&fq=-bund
Anybody have any suggestions or hints?
~Nitin
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-results-within-the-fields-tp3656049p3673371.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Jan,
Thanks for the reply.
Here is the concrete explanation of the problem that I'm trying to solve.
*SOLR Schema*
Here is the definition of the SOLR schema
*There are 3 dynamic fields*
*There are 4 searchable fields*
*Description*: Data in this field is Whitespace Tokenized,
Hi,
Complex problems like this is much better explained with concrete examples than
generalized text.
Please create a real example with real documents and their content, along with
real queries.
You don't explain what "the score value which is generate by my application" is
- which application
It's been almost a week and there is no response to the question that I
asked.
Is the question has less details or there is no way to achieve the same in
Lucene?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-results-within-the-fields-tp3656049p3666983.html
Sent f
Hi Chris
I understood how to handle this now.
I tried and I am getting what I wanted.
Thanks for a very detailed explanation. I reversed the asc, desc part and
was wondering that its not working as I wanted. After seeing the latest
mail, I figured out my mistake.
Thanks once again!
On Fri, Sep
: sort=map(map(myNumField,0,10,0),20,100,0) desc, score desc
: sort=map(map(myNumField,0,10,100),20,100,100) asc, score desc
...
: By doing the second one, I expected to get the same results, ordered like
: 13, 17,18, 20. But, what I got were other values as results, that are not in
: the
Hi Chris
Thanks for the clarification.
My Doubt:* You said:
so if the range of legal values is 0-100, and you care about 10-20
sort=map(map(myNumField,0,10,0),20,100,0) desc, score desc
sort=map(map(myNumField,0,10,100),20,100,100) asc, score desc
*
By doing the first one, I got results with "my
: I did not quite understand how that function was made. But, it does work
basically the "map" function just translates values in a ranage to some
fixed vald value. so if you nest two map functions (that use
different ranges) inside of eachother you get a resulting curve that is
flat in those
Hi Chris
Thanks a lot for the mail.
I did not quite understand how that function was made. But, it does work
like you said - there is a sorted list of documents now, where documents
around value 20 are ranked first and documents around 10 are ranked below.
(I chose a field with 0 and 100 as limit
: 1) The user gives a query, and also has an option to choose the "from" and
: "to" values for a specific field.
: (For Eg: Give me all documents that match the query Solr Users, but with
: those that were last updated between 10th and 20th of August ranked on top)
:
: -Over here, I am currently
Thanks for the clarification Erick!
On Mon, Aug 22, 2011 at 4:30 PM, Erick Erickson wrote:
> OK, I think I get it now. There's nothing in Solr that I know of that'll
> let you
> do this. Although you could add a clause boosted insanely high, something
> like date_modified:[aug10 TO aug 20]^1
OK, I think I get it now. There's nothing in Solr that I know of that'll let you
do this. Although you could add a clause boosted insanely high, something
like date_modified:[aug10 TO aug 20]^1 that would bubble your target
results toward the top of your list... Note, that's not the correct
dat
Hi Eric
Let me clarify:
1) The user gives a query, and also has an option to choose the "from" and
"to" values for a specific field.
(For Eg: Give me all documents that match the query Solr Users, but with
those that were last updated between 10th and 20th of August ranked on top)
-Over here, I
I guess I'm having trouble understanding this. "I just wanted all the results,
along with an option to sort the results, if the user wants it."
What does "all the results" mean? The results you would have had if it
you didn't have a sort? There's no way to guarantee that the results returned
by re
Wow, you're fast :)
But that indeed did the trick, thanks!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-results-on-MULTIPLE-fields-not-showing-expected-order-tp2133959p2134000.html
Sent from the Solr - User mailing list archive at Nabble.com.
--- On Thu, 12/23/10, PeterKerk wrote:
> From: PeterKerk
> Subject: Sorting results on MULTIPLE fields, not showing expected order
> To: solr-user@lucene.apache.org
> Date: Thursday, December 23, 2010, 1:01 AM
>
> I want to sort results as follows
> - highest membervalue (float) on top.
> - wi
: I perform the search like Matahari. The returned results may include "A big
: life: Matahari", "War and Matahari", "Matahari" (in that order). How can I
: return results by sorting at first the results that matches the begiging of
: string? I want to score higher the results that starts with sea
: sorry to be a numptie but can someone tell me how I change my results sort
: mechanism?
: I'm using solr 1.1 and the example solr install from the download. I've
check the copy of hte tutorial that is included with your version of Solr
... it describes how to do sorting with teh standard req
31 matches
Mail list logo