I'm not an expert in Solr and I'm trying it to check it's capabilities.
I'm having this odd behaviour where I'm getting good results if my text search query is composed of max 3 words, and zero results if the query is bigger.
What I did:
Created a docker with solr and core named
my_core
:docker run -d -p 8983:8983 --name my_solr solr solr-precreate my_core
In the dashboard created a new Field, named
campo_teste
, with the typetext_pt
because I need to index a dataset of Portuguese texts.Added and indexed my corpus with
pysolr
.Now at query time, when I search for "subsídio de parentalidade" I get results that make sense:
- But if I use a longer sentences I get zero results. This is an example with the same query as before but in the longer sentence "quando posso pedir o subsídio de parentalidade?":
Any ideas of what might be causing this issue?