There’s not much info to go on here. Try attaching &debug=query to the queries 
and see if the parsed query returned is what you expect. If it is, the next 
thing I’d do is attach 
&debug=true&explainOther=id:id_of_doc_that_isnt_showing_up

This last will show you how scoring was done whether or not the doc is returned 
in the result set.

Finally, you can use the admin UI to look at the actual tokens indexed.

My bet is that your doc format isn’t being analyzed properly, perhaps to do 
markup and the second case doesn’t get indexed the way you think it should. You 
can use the terms handler to examine exactly what’s in the index

Best,
Erick

> On Jul 22, 2020, at 12:42 PM, Khare, Kushal (MIND) 
> <kushal.kh...@mind-infotech.com> wrote:
> 
> Hello guys,
> I have been using solr for my java application to carry out content search 
> from the saved docs.
> I am facing a problem in searching for a word - 'load'
> There are 2 cases, in 1st search is working good but in second case with the 
> same doc and same query - 'load' am not getting the result
> 
> CASE 1 :
> 
> "Doing load test for Solr"  - Simple text in doc format.
> Works fine
> 
> CASE 2 :
> 
> "Doing load test for Solr"  - Simple text in doc format.
> In this case, the solr search fails. I don't get the result when I search for 
> the term load.
> 
> 
> Please help me with this as am unable to get any help with this
> 
> 
> Thanks !
> Regards,
> Kushal Khare
> 

Reply via email to