Re: search by multiple 'LIKE' operator connected with 'AND' operator

2012-10-10 Thread gremlin
I'm also unable to config that type of search through schema.xml. As I use SOLR in drupal, I've implement that in hook_search_api_solr_query_alter by exploding my search string on two (or more) chunks and now search works well. Strangely that couldn'y do it through SOLR configuration. -- View t

Re: search by multiple 'LIKE' operator connected with 'AND' operator

2012-10-08 Thread gremlin
Disabling PositionFilterFactory is totally break multiword search, and I could find titles only by single word. Default solr.TextField field with WhitespaceTokenizerFactory returns only complete words match, enabling NGramFilterFactory for that field doesn't do anything for me. If I use field desc

search by multiple 'LIKE' operator connected with 'AND' operator

2012-10-08 Thread gremlin
Hi. I have a trouble with SOLR configuration. Just want to implement configuration that would be operate with index like MySQL query: field_name LIKE '%foo%' AND field_name LIKE '%bar%'. So, for example, I have 4 indexed titles: 'Kathy Lee', 'Kathy Norris', 'Kathy Davies', 'Kathy Bird' and with