It depends on schema and query parser details. You may use Analysis screen,
debugQuery=true, and explainOther=id:123 to troubleshoot this case.

On Tue, May 14, 2024 at 11:50 AM <i...@joinso.cat> wrote:

> Hi!
> I am using Apache Solr 5.3.1, and I setup synonyms text file.
> It works as expected.
>
> For example, in my synonyms.txt file I have:
>
> ML,mL,Ml,ml,Machine Learning
>
> AI,Ai,aI,ai,Artificial Intelligence
>
>
> I have 2 categories in a field with this terms: Machine Learning and
> Artificial Intelligence
> I tagged 4 documents with Artificial Intelligence and one document without
> this tag.
> But in this document I added in the description the word “AI” several
> times.
>
> When I search for AI it returns the 4 documents but not the one not tagged
> that it has the word AI inside the description.
> There is anyway to return all the document that match the synonyms and
> also that the text is in inside the document?
>
>
>
> Atentamente / Atentament  / Regards,
> JOINSO
> ------------------------------
>
> [image: JOINSO IT CONSULTING AND ADVICE]
>
> IT Consulting and Advice
>
> 93 707 90 70 | www.joinso.cat
>
>
>
>
>
>
> Nota Legal: Este correo se rige por la política de privacidad descrita
> aquí <http://www.joinso.cat/politica-de-privacidad>.
>
> Nota Legal: Aquest correu es regeix per la política de privacitat descrita
> aquí <http://www.joinso.cat/ca/politica-de-privacitat>.
>
> Legal Disclaimer: This email is governed by privacy policy described here
> <http://www.joinso.cat/en/privacy-policy>.
>
>
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to