lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yago Riveiro" <>
Subject Re: Facet sorting algorithm for index
Date Thu, 02 Apr 2015 13:44:01 GMT
The result is a custom responseWriter, I found a bug in my code that append de \ to “.

The JSON response shows the data without the \.

Where can I found the source code used in index sorting? I need to ensure that the external
data has the same sorting that the facet result.

/Yago Riveiro

On Thu, Apr 2, 2015 at 12:26 PM, Yonik Seeley <> wrote:

> On Thu, Apr 2, 2015 at 6:36 AM, yriveiro <> wrote:
>> Hi,
>> I have an external application that use the output of a facet to join other
>> dataset using the keys of the facet result.
>> The facet query use index sort but in some point, my application crash
>> because the order of the keys "is not correct". If I do an unix sort over
>> the keys of the result with LC_ALL=C doesn't output the same result.
>> I identified a case like this:
>> 760d1f833b764591161\"84b20f28242a0
>> 760d1f833b76459116184b20f2
>> Why the line whit the '\"' is before? This chain of chars is the character "
>> or is raw and are 2 chars?
>> In ASCII the " has lower ord than character 8, if \" is " then this sort
>> makes sense ...
> How are you viewing the results?  If it's JSON, then yes the backslash
> double quote would mean that there is just a literal double quote in
> the string.
> -Yonik
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message