Hey,

I've been using the dismax query parser so that I can pass a user created 
search string directly to Solr. Now I'm getting the requirement that something 
like 'Bo' must match 'Bob', or 'Bob Jo' must match 'Bob Jones'. I can't think 
of a way to make this happen with Dismax, though it's pretty simple with 
standard syntax. I guess I would just split on space and created ANDed terms 
like 'myfield:token*' . This doesn't feel like a great approach though, since 
I'm losing all of the escaping magic of Dismax. Does anyone have any cleaner 
solutions to this sort of problem? I imagine it's quite common.

Thanks,
Kallin Nagelberg

Reply via email to