sortParameter
>>
>> The sort parameter *arranges search results* in either ascending (asc) or
>> descending (desc) order.
>>
>> Thanks,
>> Sandeep
>>
>> On 11 July 2016 at 11:13, Naveen Pajjuri <pajjuri.re...@myntra.com> wrote:
>>
&g
ri.re...@myntra.com> wrote:
>
> > Hi,
> > If i apply some sorting order on solr. when are the Documents sorted.
> >
> >1. are documents sorted after fetching the results ?
> >2. or we get sorted documents ?
> >
> > Regards,
> > Naveen
> >
>
--
Regards,
Dheerendra
lts* in either ascending (asc) or
descending (desc) order.
Thanks,
Sandeep
On 11 July 2016 at 11:13, Naveen Pajjuri <pajjuri.re...@myntra.com> wrote:
> Hi,
> If i apply some sorting order on solr. when are the Documents sorted.
>
>1. are documents sorted after fetching
Hi,
If i apply some sorting order on solr. when are the Documents sorted.
1. are documents sorted after fetching the results ?
2. or we get sorted documents ?
Regards,
Naveen
:
https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter
:
: I think we may have an omission from the docs -- docValues can also be
: used for sorting, and may also offer a performance advantage.
I added a note about that.
-Hoss
Solr sort top N results (discarding everything else) or must such
sorting
be cone on the client side?
Solr supports sorting.
https://wiki.apache.org/solr/CommonQueryParameters#sort
https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters
may contain 1000's of hits if not
millions. Can you guide me on how I can do this? Is there a way to
tell
Solr sort top N results (discarding everything else) or must such
sorting
be cone on the client side?
Solr supports sorting.
https://wiki.apache.org/solr/CommonQueryParameters
(discarding everything else) or must such sorting
be cone on the client side?
Solr supports sorting.
https://wiki.apache.org/solr/CommonQueryParameters#sort
https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter
I think we may have an omission from
Hi everyone,
I need to be able to sot in Solr. Obviously, I need to do this in a way
sorting won't cause OOM when a result may contain 1000's of hits if not
millions. Can you guide me on how I can do this? Is there a way to tell
Solr sort top N results (discarding everything else) or must such
contain 1000's of hits if not
millions. Can you guide me on how I can do this? Is there a way to tell
Solr sort top N results (discarding everything else) or must such sorting
be cone on the client side?
Solr supports sorting.
https://wiki.apache.org/solr/CommonQueryParameters#sort
https
in context:
http://lucene.472066.n3.nabble.com/Sorting-in-SOLR-tp4190294.html
Sent from the Solr - User mailing list archive at Nabble.com.
.
How Can I achieve this.
Thanks in advance,
Rajesh
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-in-SOLR-tp4190294.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
I have posted a question
http://stackoverflow.com/questions/27746299/snippets-sorting-in-solr-is-not-working-correctly
on stack exchange related to highlighted snippets sorting.
Multiple snippets returned against single document are not in sorted order.
Thanks in advance.
--
Regards
On 12/4/2013 11:59 PM, anuragwalia wrote:
I required to sort product on webshop price with position.
e.g. If we have three product (A, B ,C) needs to sort Price asc and position
asc.
IDPrice Position
A 10 3
B 10 2
C 20 5
Result should be sorted forst
Isn't this just
sort=Price asc, Position asc
?
But I agree with Shawn, I have no clue what
:@QueryTerm=*OnlineFlag=1@Sort.Price=0,position=0
is all about. Possibly a front end to Solr that has its
own query language? In which case you'd have to talk
to whoever maintains that
Best,
Erick
On
in context:
http://lucene.472066.n3.nabble.com/Sorting-on-solr-results-tp4105060.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi
I have a Master Solr through which I am querying to multiple solr instance
and aggregating their response and responding back to the user.
Now the requirement is that when I get the data querying multiple solr
instance, I want it to be sorted based on some field name.
Say I have 3 Slave
Your application has to handle it, this is kind of a
federated search thing. So a sorted map is a fine way
to go, or you could just have a sorted set with an
overridden compare function.
On Wed, Jul 24, 2013 at 2:05 AM, Vineet Mishra clearmido...@gmail.com wrote:
Hi
I have a Master Solr
Dear Experts,
I have a requirement for the exact matches and applying alphabetical
sorting thereafter.
To illustrate, the results should be sorted in exact matches and all later
alphabetical.
So, if there are 5 documents as below
Doc1
title: trees
Doc 2
title: plum trees
Doc 3
the results first and then apply rows and start. How
can i do that?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000.html
Sent from the Solr - User mailing list archive at Nabble.com.
=manufacturer asc
It will give me first 25 matching results and then sort only those.
I want it to sort all the results first and then apply rows and start. How
can i do that?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000.html
Sent from
.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000p4057013.html
Sent from the Solr - User mailing list archive at Nabble.com.
-Original Message-
From: hassancrowdc
Sent: Thursday, April 18, 2013 11:35 AM
To: solr-user@lucene.apache.org
Subject: Re: Paging and sorting in Solr
Hi,
I double checked. It is the field. if i sort through manufacturer field it
sorts but if i sort through name it does not sort. both the field has
thnx
--
View this message in context:
http://lucene.472066.n3.nabble.com/Paging-and-sorting-in-Solr-tp4057000p4057098.html
Sent from the Solr - User mailing list archive at Nabble.com.
am trying?
I have even posted a question on StackOverflow:
http://stackoverflow.com/questions/12890165/selective-sorting-in-solr
Hoping for your guidance.
--
Regards,
Sandip Agarwal
'), but
this
also applies to exact matches having the same score. What should I try to
achieve the above?
Is it even possible to achieve what I am trying?
I have even posted a question on StackOverflow:
http://stackoverflow.com/questions/12890165/selective-sorting-in-solr
Hoping for your guidance
on StackOverflow:
http://stackoverflow.com/questions/12890165/selective-sorting-in-solr
Hoping for your guidance.
--
Regards,
Sandip Agarwal
--
Walter Underwood
wun...@wunderwood.org
You may want to look at
http://sujitpal.blogspot.com/2011/05/custom-sorting-in-solr-using-external.html.
While it is not the same requirement, this should give you an idea of how
to do custom sorting.
Thanks
Afroz
On Sun, Jun 10, 2012 at 4:43 PM, roz dev rozde...@gmail.com wrote:
Yes
Hi All
I have an index which contains a Catalog of Products and Categories, with
Solr 4.0 from trunk
Data is organized like this:
Category: Books
Sub Category: Programming
Products:
Product # 1, Price: Regular Sort Order:1
Product # 2, Price: Markdown, Sort Order:2
Product # 3
Skimming this, I two options come to mind:
1 Simply apply primary, secondary, etc sorts. Something like
sort=subcategory asc,markdown_or_regular desc,sort_order asc
2 You could also use grouping to arrange things in groups and sort within
those groups. This has the advantage of
Thanks Erik for your quick feedback
When Products are assigned to a category or Sub-Category then they can be
in any order and price type can be regular or markdown.
So, reg and markdown products are intermingled as per their assignment but
I want to sort them in such a way that we
ensure that
2M docs is actually pretty small. Sorting is sensitive to the number
of _unique_ values in the sort fields, not necessarily the number of
documents.
And sorting only works on fields with a single value (i.e. it can't have
more than one token after analysis). So for each field you're only talking
Yes, these documents have lots of unique values as the same product could
be assigned to lots of other categories and that too, in a different sort
order.
We did some evaluation of heap usage and found that with kind of queries we
generate, heap usage was going up to 24-26 GB. I could trace it to
Hi,
Any suggestions,
Am I trying to do too much with solr? Is there any other search engine,
which should be used here?
I am looking into solr codebase and planning to modify QueryComponent. Will
this be the right approach?
Regards,
Shivam
On Fri, Apr 27, 2012 at 10:48 AM, solr user
Consider writing a custom sort method or a custom function
that you use for sorting. Be _very_ careful that anything you
do here is very efficient, it'll be called a _lot_.
Best
Erick
On Mon, Apr 30, 2012 at 2:10 AM, solr user solr.user...@gmail.com wrote:
Hi,
Any suggestions,
Am I trying
Hi,
We are planning to move the search of one of our listing based portal to
solr/lucene search server from sphinx search server. But we are facing a
challenge is porting customized sorting being used in our portal. We only
have last 60 days of data live.The algorithm is as follows:-
1. Put
Hi,
How about trying grouping with paging?
First you do
group=truegroup.field=advertiserIdgroup.limit=1group.offset=0group.main=truesort=somethinggroup.sort=how-much-paid
desc
That gives you one listing per advertiser, sorted the way you like.
Then to grab the next batch of ads, you go
My previous subject line was not very scannable. Apologies for the re-post,
I'm just hoping to get more eye-balls and hopefully some insights. Thank
you in advance for your time. See below.
-GS
On Mon, Dec 5, 2011 at 1:37 PM, George Stathis gstat...@gmail.com wrote:
Currently, solr grouping
sorting in the solr search, Use the linked list to
sort?
It seems like you should be able to encode this linked list as an
integer instead, and sort by that?
If there are multiple linked lists in the index, it seems like you
could even use the high bits of the int to designate which list
Hi all guys!
I'm in a weird situation here.
We have index a set of documents which are ordered using a linked list (each
documents has the reference of the previous and the next).
Is there a way when sorting in the solr search, Use the linked list to sort?
If that is not possible, how can i use
of data is not really the expected use case for Solr
sorting.
Sorry, I'm not sure what this means or how it would help: use the DIH to
access a Service in WCF or a Webservice? Maybe someone else will know exactly
what you mean. Or maybe if you rephrase with more specificity as to how you
think
On Fri, Oct 29, 2010 at 3:39 PM, Ezequiel Calderara ezech...@gmail.com wrote:
Hi all guys!
I'm in a weird situation here.
We have index a set of documents which are ordered using a linked list (each
documents has the reference of the previous and the next).
Is there a way when sorting
: 1 support a query language, songname + artist or artist + album or
: artist + album + songname, some guys would like to query like because of
: you ne-yo. So I need to cut words in the proper way. How to modify the way
: of cutting words in solr ( recognize the song name or album or artist)
Hi guys:
I am going to build up a audio search based on solr. I worked out a
prototype like :
schema.xml:
field name=id type=string indexed=true stored=true
required=true /
field name=artist type=text indexed=true stored=true/
field name=album type=text indexed=true stored=true/
: Just to be clear, I have multiple fields per document that Are coming
: back in the queried XML. Let's say it's name, id, date, description. I
: want to sort dynamically on fields but for my test case on Description.
: Are you suggesting that there be one field defined per document, or you
:
45 matches
Mail list logo