:      <str name="qf">PlantSearch^1 GeographySearch^1 RegionSearch^1
: CountrySearch^1 BusUnitSearch^1 BusinessFunctionSearch^1 
: Businessprocesses^1 LifecycleStatus^1 ApplicationNature^1 UploadedDate^1 
: </str>
:      <str name="pf">PlantSearch^1 GeographySearch^1 RegionSearch^1
: CountrySearch^1 BusUnitSearch^1 BusinessFunctionSearch^1 
: Businessprocesses^1 LifecycleStatus^1 ApplicationNature^1 UploadedDate^1 
: </str>


Adding a date field into dismax qf/pf params like that doens't relaly make 
much sense ... the datefield doesn't know how to parse 99.99% of the input 
in your q param (hence they error you posted) and even if someone did 
manage to type in a date in the full solr required format, the odds that 
you want to search for a specific exact moment in time down to the 
millisecond are probably zero.

in short: you can add a date field to your schema without adding it to the 
qf/pf of dismax ... what you do with that date field is up to you (you can 
use it in "fq" params to filter by date, you can included it in the "bf" 
to boost by date, etc....) but adding it to pf/qf make no sense.




-Hoss

Reply via email to