Assuming this is a field with language analysis -- the search with an asterisk skips the language analysis portion and tries to match the string against the token. So if in some of your fields the tokenized and stemmed version of restaurante didn't have the e at the end I would expect those results to be missing. You probably need a separate field for substring search (search with wildcard) which doesn't do any stemming.
On Thu, Aug 12, 2021, 12:17 AM Netta STEINBERG <nsteinb...@dalet.com> wrote: > Hi all, > > I get unexpected results while performing a full text search with Solr 7.5: > I get more results when I perform a full text search without an asterisk > than when I search with an asterisk. > When the query is RESTAURANTE, I get 61 results > > > When the query is RESTAURANTE*, I get only 9 results > > > The only difference between the searches is the added asterisk. > > Anyone has an idea for why this may happen? why a search with an asterisk > yields less results than a search without the asterisk? > > Thanks, > Netta Steinberg