let's analyse your query requirement :
On 15 October 2015 at 03:08, Brian Narsi wrote:
>
> 1) cardinal healthcare products
> 2) cardinal healthcare
> 3) postoperative cardinal healthcare
> 4) surgical cardinal products
>
>
> q=SellerName:cardinal - all 4 records returned
> q=SellerName:healthca
Thank you Erick. Yes it was the default search field.
So for the following SellerName:
1) cardinal healthcare products
2) cardinal healthcare
3) postoperative cardinal healthcare
4) surgical cardinal products
My requirement is:
q=SellerName:cardinal - all 4 records returned
q=SellerName:healthca
try adding &debug=true to your query. The query
q=SellerName:cardinal he
actually parses as
q=SellerName:cardinal defaultSearchField:he
so I suspect you're getting on the default search field.
I'm not sure EdgeNGram is what you want here though.
That only grams individual tokens, so CARDINAL is g
I have the following fieldtype in my schema:
and the following field:
With the following data:
SellerName:CARDINAL HEALTH
When I do the following search
q:SellerName:cardinal
I get back the results with SellerName: CARDINAL HEALTH (correct)
or I do the search
q:SellerName: