I thought that is the problem in the beginning but I have tried Kobo, but it does not give me result(numFound=0) If you want i can send you xml of resultset. and can you explain ho i can make it flexible so that it takes care of upper/lowercase or any other character? (I can't change the type of field as those are same as mysql type)
On Tue, Jan 22, 2013 at 10:27 AM, Shawn Heisey-4 [via Lucene] < ml-node+s472066n4035345...@n3.nabble.com> wrote: > On 1/22/2013 8:16 AM, hassancrowdc wrote: > > > <response> > > <lst name="responseHeader"> > > <int name="status">0</int> > > <int name="QTime">1</int> > > <lst name="params"> > > <str name="echoParams">all</str> > > <str name="debugQuery">true</str> > > <str name="indent">true</str> > > <str name="q">kobo</str> > > <str name="qf">model</str> > > <str name="defType">dismax</str> > > Based on what I can see, I am thinking it didn't match because what's in > your index is probably Kobo, and you are searching for kobo. The type > on all your fields except id is string, which is defined as StrField > with no analysis chain. This means that your queries must be *precise* > - including uppercase/lowercase and any other characters. If your value > were to include spaces, you would have to enclose the query text in > quotes to make it a phrase query. > > You do have one fieldtype (text) that would make this match - the > analysis chain includes LowerCaseFilterFactory. You would have to > change the types of one or more of your fields and then completely > reindex. > > Thanks, > Shawn > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035345.html > To unsubscribe from solr query, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4035325&code=aGFzc2FuY3Jvd2RjYXJlQGdtYWlsLmNvbXw0MDM1MzI1fC00ODMwNzMyOTM=> > . > 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/solr-query-tp4035325p4035351.html Sent from the Solr - User mailing list archive at Nabble.com.