jasonmk / datastax_rails

A Ruby-on-Rails interface to Datastax Enterprise. Replaces the majority of ActiveRecord functionality.
MIT License
23 stars 9 forks source link

added the ability to bypass the downcasing of fulltext queries #27

Closed jmphilbrick closed 10 years ago

jmphilbrick commented 10 years ago

The fulltext method currently downcases every query passed to it. This prevented the ability of doing an exact match of a value with mixed case in a solr query:

column_name:"Some Mixed Cased Text"

jasonmk commented 10 years ago

This is actually done on purpose. All of the text is run through a lower-case filter in order to make all searches case-insensitive. If you don't downcase the query, you won't find anything. Is there a specific case you're trying to address? Or is there somewhere something isn't working?

jmphilbrick commented 10 years ago

good point, disregard this pull request