The DismaxRequestHandler can handle that query input.
Add qt=dismax to your call.
There is a default configuration of dismax in the solrconfig sample that
ships with each release. You want to adopt that to your schema. Dismax
will also allow you to search on multiple selected fields with different
weightings and also boost phrase hits etc. etc.
If you want to allow leading wildcards on certain fields for the
standard query handler - use ReversedWildcardFilterFactory:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ReversedWildcardFilterFactory
Cheers,
Chantal
Olivier Dobberkau schrieb:
Am 02.12.2009 um 09:55 schrieb amittripathi:
its accepting the trailing wildcard character but solr is not accepting the
leading wildcard character
The Error message says it all.
'*' or '?' not allowed as first character in WildcardQuery
solr is not SQL.
Olivier
--
Olivier Dobberkau