I had been doing this:
@query = "actor:'#{@person.name}' OR director:'#{@person.name}'"
but it turns out that did nothing! You need to surround query segments in double quotes for it to actually parse them as a single unit:
@query = "actor:\"#{@person.name}\" OR director:\"#{@person.name}\""
No comments:
Post a Comment