The defType parameter applies only to the q parameter, not to fq, so you
will need to explicitly give the query parser for fq:
fq={!queryparsername}filterquery
-- Jack Krupansky
-----Original Message-----
From: suren
Sent: Thursday, January 02, 2014 7:32 PM
To: solr-user@lucene.apache.org
Subject: Re: adding wild card at the end of the text and search(like sql
like search)
Ahmet,
It did not solve the problem. I added
1)ComplexPhrase-4.2.1.jar to my local solr
"solr-4.3.1\example\solr\collection1\lib"
2)added the below content to "solrConfig.xml"
<queryParser name="unorderedcomplexphrase"
class="org.apache.solr.search.ComplexPhraseQParserPlugin">
<bool name="inOrder">false</bool>
</queryParser>
3)re-started solr, appended the Query param
"defType=unorderedcomplexphrase" and ran the query, still issue present.
http://localhost:8983/solr/collection1/select?q=*%3A*&fq=ORGANIZATION_NAM%3A%22JOHNSON+%26+SO*%22&wt=xml&indent=true&defType=unorderedcomplexphrase
Please let me know if i am missing anything?
--
View this message in context:
http://lucene.472066.n3.nabble.com/adding-wild-card-at-the-end-of-the-text-and-search-like-sql-like-search-tp4108399p4109221.html
Sent from the Solr - User mailing list archive at Nabble.com.