Reputation: 49
I got a problem with solr search. I want to search a string with a blank character within and a wildcard in the end. the only way that i found was to put the string in quotes. but if I do like this and i can´t put a wildcard in the end.
so is there any way i can search for "foo bar"* ?
thanks for any hint!
Upvotes: 0
Views: 1512
Reputation: 52809
you can try escaping the white space field:foo\ bar*
Wildcard Queries :-
Note that wildcards are not supported within quoted phrases. They will be treated as if they were white space.
Upvotes: 3