I'm going to be a bit pedantic here since
"before" and "after" are a little misleading. Perhaps
"during" is better.
What happens internally is that a list "rows" long
is kept (i..e the &rows=### parameter). Let's say
&rows=20. A list to hold 20 items is created. The
first 20 docs are just put in t
Naveen,
The documents are sorted before. Lets say if it was a post sort and you are
fetching 10 rows it would have pulled up top 10 rows and sorted it. but
that is not what happens in solr it sorts in all available docs as per the
query and goves the number of rows as per your requirment.
Regards
Hi Naveen,
I am not too sure what you're after but the sorting mechanism is applied
after search results are fetched.
>From Solr Ref Guide:
https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter
The sort parameter *arranges search results*
:
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
http://ww
Never meant to imply that it wasn't memory bound! It _is_ memory bound
(or at least can be), it's just that the memory consumed isn't
proportional to the number of documents matched, but to the total
number of documents in your index. Although that all said, once all
the structures are in memory, t
Hi Erick,
I didn't know this isn't memory bound, but it got to be CPU bound, no?
Thanks
Steve
On Mon, Jun 1, 2015 at 12:27 PM, Erick Erickson
wrote:
> Steve:
>
> Surprisingly, the number of hits is completely irrelevant for the
> memory requirements for sorting. The base memory size is, AFAIK
Steve:
Surprisingly, the number of hits is completely irrelevant for the
memory requirements for sorting. The base memory size is, AFAIK, an
array of maxDoc ints (you can find maxDoc on the admin screen).
There's some additional overhead, but that's the base size. If you sue
DocValues, much of the
On 6/1/2015 9:29 AM, Steven White wrote:
> 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 (discar
Hi,
You can boost the results of "Test street" by 5, boost the test by 3 and
boost street by 1.5.
With Regards
Aman Tandon
On Mon, Mar 2, 2015 at 3:44 PM, Rajesh
wrote:
> Hi,
>
> I want to sort my results based on my query string.
>
> For example, If I query by "Test Street", My results shoul
Great, thanks. I was hoping the solution you were suggesting was along
those lines.
Chris Hostetter wrote:
: 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
: 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
: ca
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
can only
: having issues with it. Some fields work some do not and my results seem
: to suggest that it doesn't work when there are any non-alphaNumeric
: values in the fields. Can someone out there either confirm this or let
: me know what I may be doing wrong? is it a matter of using a different
: ana
13 matches
Mail list logo