Hi,
A couple of ideas to find out:
- Use the Solr admin panel to see how your query analysis chain handles
both queries, and how RESTAURANTE is analyzed before indexing. Maybe the
asterisk is preventing some analysis, thus making the query match fewer
results?
- Use www.Splainer.io to see where matches happen and why
Cheers
Charlie
On 12/08/2021 08:17, Netta STEINBERG 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
--
Charlie Hull - Managing Consultant at OpenSource Connections Limited
<www.o19s.com>
Founding member of The Search Network <https://thesearchnetwork.com/>
and co-author of Searching the Enterprise
<https://opensourceconnections.com/about-us/books-resources/>
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828
OpenSource Connections Europe GmbH | Pappelallee 78/79 | 10437 Berlin
Amtsgericht Charlottenburg | HRB 230712 B
Geschäftsführer: John M. Woodell | David E. Pugh
Finanzamt: Berlin Finanzamt für Körperschaften II