Thanks Hoss. Yes, that jira seems like a good one to fix.
And the variable name definitely does not explain why it will not cause any
sort operation.
-SG
On Mon, Mar 2, 2020 at 10:06 AM Chris Hostetter
wrote:
> : docid is the natural order of the posting lists, so there is no sorting
> effort.
: docid is the natural order of the posting lists, so there is no sorting
effort.
: I expect that means “don’t sort”.
basically yes, as documented in the comment right above hte lines of code
linked to.
: > So no one knows this then?
: > It seems like a good opportunity to get some performance!
docid is the natural order of the posting lists, so there is no sorting effort.
I expect that means “don’t sort”.
Also, cross-posting is probably not good. I’m replying only to solr-user.
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Feb 28, 2020,
So no one knows this then?
It seems like a good opportunity to get some performance!
On Tue, Feb 25, 2020 at 2:01 PM S G wrote:
> Hi,
>
> I see a lot of such queries in my Solr 7.6.0 logs:
>
>
> *path=/select
> params={q=*:*&distrib=false&sort=_docid_+asc&rows=0&wt=javabin&version=2}
> hits=2871
Hi,
I see a lot of such queries in my Solr 7.6.0 logs:
*path=/select
params={q=*:*&distrib=false&sort=_docid_+asc&rows=0&wt=javabin&version=2}
hits=287128180 status=0 QTime=7173*
On some searching, this is the code seems to fire the above:
https://github.com/apache/lucene-solr/blob/f80e8e11672d3
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
Hi,
I am using *Solr v6.2.1* .We are not getting accurate results using "sort
score desc".
let's assume we have a list of documents in our index as below
[{ "id": "1", "content": ["*java* developer"] },
{ "id": "2", "content": ["*Java* is object oriented.*Java* robust
language.Core *java* "] },
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
Hi All.
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 solr documentation says that i have to add the docValues="true"
attribute for this field. After this I deleted the collection an
I have a multivalued field for session timings (where i store timestamps) of
groups document. e.g. session_timings: [1526882026, 1513882026, 1533882026
]. My sorting logic is the groups should be listed sorted based on their
upcoming session time.
For example, Group A has three session_timings = [
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.
on top when sorted in desc manner, but text1 is
> coming on top.
>
> Can anyone tell me what is going wrong here?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-sort-incorrectly-tp4351419.html
> Sent from the Solr - User mailing list archive at Nabble.com.
ng on top.
Can anyone tell me what is going wrong here?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-incorrectly-tp4351419.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
data:1T
Solr Sort occurs the memory overflow
query is normal
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
,
Krishna.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-preferences-number-vs-space-vs-character-tp4263527.html
Sent from the Solr - User mailing list archive at Nabble.com.
I am looking for a solr solution of this model: Product (common fields) ->SKU
(color, size) and STORE(store_name) <-(price)-> SKU
Listing contains only products but other facets (store names, colors) and
sorting (by min price) should work either.
I can have 3 types of docs: products, skus and re
.
I'm actually looking for a more effencient way.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-by-fixed-id-list-tp4156854p4156888.html
Sent from the Solr - User mailing list archive at Nabble.com.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-sort-by-fixed-id-list-tp4156854.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics
<http://www.griddynamics.com>
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:
http://lucene.472066.n3.nabble.com/Solr-sort-by-fixed-id-list-tp4156854.html
Sen
..],
"score":4.347174}]
}},
[...]
With the release of sorting by Function Query
(https://issues.apache.org/jira/browse/SOLR-1297), it seems that there
should be a way to use the sum() function
(http://wiki.apache.org/solr/FunctionQuery). But it's not quite close enough
since the "score" field is not part of the documents.
I feel like I'm close but I'm missing some obvious piece. I'm using Solr
4.6.
--
View this message in context:
http://lucene.472066.n3.nabble.com/solr-sort-groups-by-the-sum-of-the-scores-of-the-documents-within-each-group-tp4134605.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
this message in context:
http://lucene.472066.n3.nabble.com/solr-sort-facets-by-name-tp4099499.html
Sent from the Solr - User mailing list archive at Nabble.com.
: "mysearch" requesthandler(see following codes), I found that custom sort
: just effect on the current page when I got multiple page results, but the
: sort is expected when I sets the rows which contains all the results. Does
: anybody know how to solve it or the reason?
I haven't familiarized
Thanks you guys, I got the reason now, there'is something wrong with
compareBottom method in my source,it's not consistent with compare method
--
View this message in context:
http://lucene.472066.n3.nabble.com/custom-solr-sort-tp4031014p4031444.html
Sent from the Solr - User ma
lain why you want to implement a different sort first? There
> may be other ways of achieving the same thing.
>
> Upayavira
>
> On Sun, Jan 6, 2013, at 01:32 AM, andy wrote:
>> Hi,
>>
>> Maybe this is an old thread or maybe it's different with previous one.
&g
Can you explain why you want to implement a different sort first? There
may be other ways of achieving the same thing.
Upayavira
On Sun, Jan 6, 2013, at 01:32 AM, andy wrote:
> Hi,
>
> Maybe this is an old thread or maybe it's different with previous one.
>
> I want to
Am 06.01.2013 02:32, schrieb andy:
I want to custom solr sort and pass solr param from client to solr server,
Hi Andy,
not a answer of your question, but maybe an other approach to solve your
initial question. Instead of writing a new SearchComponent I decided to
(miss)use the function
Hi,
Maybe this is an old thread or maybe it's different with previous one.
I want to custom solr sort and pass solr param from client to solr server,
so I implemented SearchComponent which named MySortComponent in my code,
and also implemented FieldComparatorSource and FieldComparator. w
o clarify if this is what the sort param is doing)
> Somewhat like this:
> select * from (select * from videos order by upload_dt desc) limit 5
>
> If I cannot do this by sort, I guess boost/boost function is the way to go.
>
> Thanks again :). Sorry for the long post. First time using s
ost function is the way to go.
Thanks again :). Sorry for the long post. First time using solr/lucene so
I'm still grasping at straws :|.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-sort-param-behavior-clarification-tp3709248p3710581.html
Sent from the Solr - User mailing list archive at Nabble.com.
plain
> the order solr/lucene executes the query params
> ie.
> 1 applies filter query
> 2 applies query
> 3 applies sort
> something like this?
> like in oracle where the "where" clause is applied first before "connect
> by".
>
> Thanks.
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-sort-param-behavior-clarification-tp3709248p3709248.html
> Sent from the Solr - User mailing list archive at Nabble.com.
explain
the order solr/lucene executes the query params
ie.
1 applies filter query
2 applies query
3 applies sort
something like this?
like in oracle where the "where" clause is applied first before "connect
by".
Thanks.
--
View this message in context:
http://lucene.472066.n3
Sorry for that. I didnt realise how my had finally arrived. Sorry!!!
From: [EMAIL PROTECTED]
To: solr-user@lucene.apache.org
Subject: OOM on Solr Sort
Date: Tue, 22 Jul 2008 18:33:43 +
Hi,
We are developing a product in a agile manner and the current
implementation has a data of size
Hi,We are developing a product in a agile manner and the current
implementation has a data of size just about a 800 megs in dev. The memory
allocated to solr on dev (Dual core Linux box) is 128-512. My config=
trueMy Field===
: I have inherited a new class from the org.apache.solr.schema.StrField and
: customed a new sort algorithm by implementing the SortComparatorSource
: interface.Then to export the jar file to the solr lib directory, and
: configure the schema.xml file.But when I test the new feature, It does't
: w
rk at all.Can you give some suggestions?Thanks.
--
View this message in context:
http://www.nabble.com/How-to-custom-solr-sort--tp16607351p16607351.html
Sent from the Solr - User mailing list archive at Nabble.com.
Will anyone helps me how to sort the "text string" which length is less than
50.
Thanks,
Jae Joo
54 matches
Mail list logo