I can use 'String' instead of 'Text' for exact match, but I need ExactMatch only on PhraseSearch.
On 27 June 2011 16:29, Gora Mohanty <g...@mimirtech.com> wrote: > On Mon, Jun 27, 2011 at 3:42 PM, Mohammad Shariq <shariqn...@gmail.com> > wrote: > > Hello, > > I am using solr1.4 on ubuntu 10.10. > > Currently I got the requirement to do the ExactMatch for PhraseSearch. > > I tried googling but I did'nt got the exact solution. > > > > I am doing the search on 'text' field. > > if I give the search query : > > http://localhost:8983/solr/select/?q="the search agency" < > http://localhost> > > > > It apply the stopWordsFilter and remove the 'the' word from query, but my > > requirement is to do the ExactMatch. > > please suggest me the right solution to this problem. > [...] > > Use a "string" field which does not have any analyzers, and > tokenizers. > > Regards, > Gora > -- Thanks and Regards Mohammad Shariq