I am using a fairly popular library (sunspot-solr for ruby) on top of solr
that introduces the use of a colon, so I will modify the library, but I
think  there is still a bug as this stopped working in recent version of
solr. Solr should also not allow the data into the doc in the first place if
it can't sort by that column name.

On Mon, Jul 18, 2011 at 9:47 AM, Nicholas Chase <nch...@earthlink.net>wrote:

> Seems to me that you wouldn't want to use a colon in a field name, since
> the search syntax uses it (ie, to find a document with foo = bar, you use
> foo:bar).  I don't know whether that's actually prohibited, but that could
> be your problem.
>
> ----  Nick
>
>
> On 7/18/2011 8:10 AM, Jason Toy wrote:
>
>> Hi all,  I found a bug that exists in the 3.1 and in trunk, but not in
>> 1.4.1
>>
>> When I try to sort by a column with a colon in it like
>> "scores:rails_f",  solr has cutoff the column name from the colon
>> forward so "scores:rails_f" becomes "scores"
>>
>


-- 
- sent from my mobile
6176064373

Reply via email to