Hi, All same, for single term queries it makes no sense/difference to use quotes. Quotes are proximity operators, it requires at least two clauses/terms.
Actually I coudn't re-produce your problem with 4.8.0. With q=d!sdasdsdwasd...@dsadsadas.edu it is not treated as NOT operator. What version are you using? For other characters having special meaning, please see Escaping Special Characters section http://lucene.apache.org/core/4_8_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description Ahmet On Wednesday, May 14, 2014 7:18 AM, nativecoder <romrom...@gmail.com> wrote: Yes that happens due to the ! mark. Also can someone please tell me the difference between searching a text in the following ways 1. q=Exact_Word:"samplestring" 2. q=samplestring&qf=Exact_Word 3. q="samplestring"&qf=Exact_Word I think the first and the third one are the same. is it correct ? How does it differ from the second one. I am trying to understand how enclosing the full term in "" is resolving this problem ? What does it tell to solr ? Other than the exclamation mark are there any other characters which tells specific things to solr On May 14, 2014 1:54 AM, "nativecoder [via Lucene]" < ml-node+s472066n4135493...@n3.nabble.com> wrote: > Also could you please tell me the difference between searching a text in > the following ways > > q=Exact_Word:"samplestring" > > q=samplestring&qf=Exact_Word > > I am trying to understand how enclosing the full term in "" is resolving > this problem ? What does it tell to solr ? > > Other than the exclamation mark are there any other characters which tells > specific things to solr > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/KeywordTokenizerFactory-splits-the-string-for-the-exclamation-mark-tp4135460p4135493.html > To start a new topic under Solr - User, email > ml-node+s472066n472068...@n3.nabble.com > To unsubscribe from KeywordTokenizerFactory splits the string for the > exclamation mark, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4135460&code=cm9tcm9tMTIzQGdtYWlsLmNvbXw0MTM1NDYwfDE3MDI4MTA4MQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/KeywordTokenizerFactory-splits-the-string-for-the-exclamation-mark-tp4135460p4135525.html Sent from the Solr - User mailing list archive at Nabble.com.