Jörg Agatz wrote:
Hallo Users...
And good Morning, in germany it is morning :-)
I have a realy important Prroblem...
My Fields are realy Bad.. Like
"CUPS_EBENE1_EBENE2_TASKS_CATEGORIE"
I have no Content field ore somthing like this...
So when i will search somthing, i need to search in ALL fields, but when i
search "*:test" it dosent Work,
And when i put "*" in the defaultSearchField" it dosent Work too
How i can Search in ALL fields?
Good morning! Its morning in Connecticut USA now ;)
Check out: http://wiki.apache.org/solr/DisMaxRequestHandler
You can specify multiple fields with the qf param.
Also see CopyFields:
http://wiki.apache.org/solr/SchemaXml#head-586f22933e9952e9130029e14aaf0b9718b917c4
CopyFields let you copy the value from multiple fields to a single field
during indexing. It doesn't show it at that spot on the wiki (it prob
should), but you can use * in the names, eg
<copyField source="*" dest="all_fields"/>
Looks at the example schema for more examples.
--
- Mark
http://www.lucidimagination.com