Hi, Does the same happen if you use +*foo* +*bar* syntax?
If such queries turn out to be too slow, consider indexing ngrams. Otis -- Solr & ElasticSearch Support -- http://sematext.com/ Performance Monitoring -- http://sematext.com/spm On Sat, Jul 13, 2013 at 5:40 AM, Stavros Delisavas <stav...@delisavas.de> wrote: > Hello Solr-Community, > I am having some strange behavior that I don't understand. I hope you can > help. I try to query/search for two words. For example "(*foo* AND *bar*) > What I want is to get all entries that contain the string foo AND contain > the word bar. What I get is all entries that contain foo OR contain bar. > But I want entries that contain BOTH words. > like: "foobar 123", "bla foo bla bar", "blafoobla bar", etc > > What do I have to change in my query to get the desired result? > > Thank you!