open-city / councilmatic

DEPRECATED, replaced by https://github.com/datamade/chi-councilmatic
16 stars 9 forks source link

QueryError at /search/ #12

Closed derekeder closed 11 years ago

derekeder commented 11 years ago

Legislation is indexed, but throwing an error when searching:

http://councilmatic.opencityapps.org/search/?q=&sponsors=Pawar%2C+Ameya

fgregg commented 11 years ago

We were saving sponsors as 'Last Name, First Name'. By default, if Haystack sees a comma, then it will not treat this as a phrase and it won't find the sponsors.

We hacked around this by saving the sponsors as 'First Name Last Name.