You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Steve Rowe <sa...@gmail.com> on 2018/07/20 18:28:59 UTC

Re: Exact Phrase search not returning results.

Hi Deepti,

Your schema snippet didn’t make it to the list.  Please repost as inline text rather than an image.

--
Steve
www.lucidworks.com

> On Jul 20, 2018, at 10:33 AM, Krishnan, Deepti (NIH/OD) [C] <de...@nih.gov> wrote:
> 
> Hi,
>  
> We are working on a .net application using Solr. When we initially launched the site we were using the 5.5.3 version and last sprint we updated it to the 7.3.1 version. Everything is working fine ass expected expect for one feature.
>  
> The exact phrase search does not return any value for some search criteria, and this used to work fine with the older version. Based on our research, those search terms with stop words and more than one word following it is not working.
>  
> The field has been defined as a text_general type in the schema and below are the tokenizers and filters used during indexing and querying.
>  
> 
>  
> Eg. 
>  
> 	• “PROMOTING SCHOOL READINESS AMONG LOW-INCOME FAMILIES” – This works. No stop wods 
> 	• “national institutes of health” – This works as well. Notice that there is a stop word (of) but only one word following it
> 	• “Structure of choroid plexus” – Does not work. Notice there are more than 2 words following the stop word(of)
> 	• "Health and Human Services" – This doesn’t work but “Health and Human” works.
>  
> Please let me know if there is something I am missing and if something is unclear or you need to reach out to me to discuss further.
>  
> Thanks,
> Deepti