Now our qf tag looks like : <str name="qf"> productPublicationDate_product_dt^1.0 </str>
Still search on any field (?q=searchTerm) gives following error "The request sent by the client was syntactically incorrect (Invalid Date String:'searchTerm')." Is this valid to define *_dt (i.e. date fields ) in solrConfig.xml ? prerna07 wrote: > > Hi, > > We are facing issues while using dismaxrequesthandler for date fields. > We have to define date fields in <str name="qf"> of solrConfig.xml. > > <str name="qf"> > productPublicationDate_product_dt^1.0 > productPublicationDate_product_dt[NOW-45DAYS TO NOW]^1.0 > </str> > > as soon as we add this in solrConfig.xml, dismax stops working for other > attributes. > > ?q=searchterm&qt=dismaxrequest gives error saying that searchterm is > invalid date field. > This is because dismax request tries to search the term in all the > attributes defined in <qf> tag, Is there any way to avoid this search. > > Please suggest what should we do to solve the issue. > > Thanks, > > > -- View this message in context: http://www.nabble.com/Issue-with-dismaxrequestHandler-for-date-fields-tp21455862p21471265.html Sent from the Solr - User mailing list archive at Nabble.com.
