Hi, I have several tokens in a field containing more than one keyword, like "chinese food", "indian food", I want to do exact match. And even more, if the token is "chinese cuisine", but the query is ""chinese cuisines", I still want the query to match to token.
Thanks Nicholas On Wed, Oct 17, 2012 at 11:46 AM, Jack Krupansky <j...@basetechnology.com>wrote: > The answer is "Yes." Solr and Lucene are quite flexible. > > You neglected to offer any details about your specific use case which > might bias the answer one way or the other. What is some sample data and > some sample queries? > > -- Jack Krupansky > > -----Original Message----- From: Nicholas Ding > Sent: Wednesday, October 17, 2012 11:24 AM > To: solr-user@lucene.apache.org > Subject: How to do exact match? > > > Hello, > > I want to do exact match on Solr. I found two ways on Internet, one is to > put PREFIX and SUFFIX around the text, another is to use KeywordTokenizer. > > I was wondering which one is the better approach for doing exact match? > > Thanks > Nicholas >