On 6/22/2018 9:29 AM, Prathyusha Kondeti wrote:
> when I search for java using below query
>
> curl
> http://localhost:8983/solr/test/select?fl=score,id&q=(java)&wt=json&sort=score
> desc
>
> I am expecting the content with *Id :2* should come first as it contains
> more matches related to java.Bu
Hi,
if you add to the request the param : debugQuery=on you will see what
happens under the hood and understand how the score is assigned.
If you are new to the Lucene Similarity that Solr version uses ( BM25[1])
you can paste here the debug score response and we can briefly explain it to
you the
On 6/12/2018 2:56 AM, Marc Lammers wrote:
I want to sort my data by a multivalued field. I add this to my query
„*sort=field(foo,min)
asc“*. The configuration in the schema for this field is
The documentation for the field function says that the field must
contain numeric docvalues. Your fi
Thanks a lot Erick!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-incorrectly-tp4351419p4351463.html
Sent from the Solr - User mailing list archive at Nabble.com.
String types do no analysis whatsoever. Therefore case matters, All
upper case sorts before all lower case. Punctuation matters. Spaces
matter etc.
What people often do is create a special field for sorting and
normalize it by folding case etc. Usually you have to do this on the
input. You might a
Please review:
http://wiki.apache.org/solr/UsingMailingLists
There is precisely no information here that would allow us to diagnose the root
of your problem. The only general advice would be use DocValues.
Erick
On Thu, Jun 30, 2016 at 11:09 PM, 闲鹤/mamao wrote:
> data:1T
> Solr Sort occurs th
Yes Andy, I am using field configured with KeywordTokenizerFactory.
Thanks,
Vamsi.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-preferences-number-vs-space-vs-character-tp4263527p4263728.html
Sent from the Solr - User mailing list archive at Nabble.com.
e what you expect.
- Andy -
-Original Message-
From: vkrishna [mailto:vamsikrishna_t...@yahoo.com]
Sent: Monday, March 14, 2016 1:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr sort preferences number vs space vs character
Shawn, I think you did saw my required result order i
ct: Re: Solr sort preferences number vs space vs character
To: "vkrishna"
Date: Monday, March 14, 2016, 9:58 AM
On 3/14/2016 10:28 AM, vkrishna wrote:
> I completely forgot to mention that this
kind of sorting is working fine in 1.4 version now we are
upgrading to 5.4. I
On 3/14/2016 10:28 AM, vkrishna wrote:
> I completely forgot to mention that this kind of sorting is working fine in
> 1.4 version now we are upgrading to 5.4. I know solr made many changes
> between, because it's been years. Do you know when and in which version they
> made changes for sorting.
ishna.
On Mon, 3/14/16, chillra [via Lucene]
wrote:
Subject: RE: Solr sort preferences number vs space vs character
To: "vkrishna"
Date: Monday, March 14, 2016, 8:21 AM
No experience with this personally, but it
seems like you are de
AM
To: solr-user@lucene.apache.org
Subject: Re: Solr sort preferences number vs space vs character
On 3/14/2016 12:05 AM, vkrishna wrote:
> Hey Shawn,
>
> Is there any way to use ASCII? so I can get the result I want.
I do not know whether Solr has any config facility to incorporate
On 3/14/2016 12:05 AM, vkrishna wrote:
> Hey Shawn,
>
> Is there any way to use ASCII? so I can get the result I want.
I do not know whether Solr has any config facility to incorporate a
custom Lucene sorting class. I tried to look at the Lucene code to see
if I could figure out how/where the sor
On Sun, 2016-03-13 at 23:05 -0700, vkrishna wrote:
> Is there any way to use ASCII? so I can get the result I want.
If you use a plain StrField and stick to ASCII in your input, the
sorting should be ASCII:
https://en.wikipedia.org/wiki/ASCII#Unicode
- Toke Eskildsen, State and University Librar
Hey Shawn,
Is there any way to use ASCII? so I can get the result I want.
Thanks,
Vamsi.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-preferences-number-vs-space-vs-character-tp4263527p4263551.html
Sent from the Solr - User mailing list archive at Nabble.com.
On 3/13/2016 8:18 PM, Jiangenbo wrote:
> sorry for disturbing you all.
> Who can tell me how to cancel( unsubscribe) this mailing list
The information about how to unsubscribe is in the same place as the
information about how to subscribe:
http://lucene.apache.org/solr/resources.html#mailing-lis
Hi,
sorry for disturbing you all.
Who can tell me how to cancel( unsubscribe) this mailing list
Thanks very much!
Best,
From: Shawn Heisey
Date: 2016-03-14 10:00
To: solr-user
Subject: Re: Solr sort preferences number vs space vs character
On 3/13/2016 4:58 PM, vkrishna wrote:
> I am new
On 3/13/2016 4:58 PM, vkrishna wrote:
> I am new to solr and using 5.4 version. Everything is good up to now, but I
> am facing a problem with sorting order. When I query for some thing let's
> say for 'a', I am getting the expected results in sorting order but it is
> giving more preference to num
And how would I do that?
What I've done until now, is sort by query function, with increasing boosts,
eg:
sort=query({!v=id:(1^1 OR 2^2 OR 3^3 OR 4^4 OR )})+asc
But this isn't very performant. When using +-7000 id's it will take about a
minute for Solr to find results.
I'm actually l
add increasing boosts.
On Thu, Sep 4, 2014 at 11:03 AM, davyme wrote:
> Hi,
>
> I'm search Solr by querying a list of id's. I want to get the solr search
> results in the same order as the id list in the query. Can this be done?
>
> Thanks!
> Davy
>
>
>
> --
> View this message in context:
> ht
On Wed, 2013-11-06 at 01:00 +0100, PeterKerk wrote:
> By default solr sorts facets by the amount of hits for each result. However,
> I want to sort by facetnames alphabetically.
That is currently not possible in Solr. You can return then in Unicode
order, as Koji and manju16832003 suggests, but th
That works, thanks!
--
View this message in context:
http://lucene.472066.n3.nabble.com/solr-sort-facets-by-name-tp4099499p4099572.html
Sent from the Solr - User mailing list archive at Nabble.com.
Yes it is
facet.sort=index would return facet result set in alphabetical order
--
View this message in context:
http://lucene.472066.n3.nabble.com/solr-sort-facets-by-name-tp4099499p4099522.html
Sent from the Solr - User mailing list archive at Nabble.com.
(13/11/06 9:00), PeterKerk wrote:
By default solr sorts facets by the amount of hits for each result. However,
I want to sort by facetnames alphabetically. Earlier I sorted the facets on
the client or via my .NET code, however, this time I need solr to return the
results with alphabetically sorte
See below:
On Thu, Feb 2, 2012 at 12:28 PM, tiuser123 wrote:
> Hello Erick,
>
>
> Erick Erickson wrote
>>
>> Lucene (where the sorting happens) assembles a list of all the unique
>> *values* for a sort field and sorts the result set by comparing to that
>> list. It doesn't sort all the documents
Hello Erick,
Erick Erickson wrote
>
> Lucene (where the sorting happens) assembles a list of all the unique
> *values* for a sort field and sorts the result set by comparing to that
> list. It doesn't sort all the documents per-se.
>
Hmm, still confused. What do you mean by "sorts by comparing
First, sorting completely overrides scoring. So if you specify a sort,
scoring is essentially ignored. If you specify more than one sort, they
are applied in order. That is, any ties in the first sort parameter are
broken by the second sort parameter. If all sort parameters specified
tie, the inter
27 matches
Mail list logo