> I am using EdgeNGramFilter for wildcard search.
> But the search result is same whether or not followed by
> asterisk.
> When I search without asterisk, I just want to retrive in
> original
> terms(except ngram terms).
> 
> [example]
> - doc1 : "enterprise search server"
> - doc2 : "enter key"
> 
> When I query 'enter*', both doc1 and doc2 are retrived.
> It's ok.
> When I query 'enter', both doc1 and doc2 are also
> retrived.
> But I just want a doc2.
> 
> How should I do this?
> please help!

You need to remove EdgeNGramFilter for that. 
What is your purpose of using EdgeNGramFilter for wildcard search?


      

Reply via email to