lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr 1.4 query fails against all fields, but succeed if field is specified.
Date Mon, 31 May 2010 16:07:46 GMT

: > Is there any way to query all fields including dynamic ones?
: 
: Yes, using the *:term query. (Please note that the asterisk should not
: be quoted.)

uh ...no, completely incorrect.  you can not use "*" to denote 'all 
fields' in that way.

there is no syntax for "find this term in any field" ... every query 
involves a field of some kind.  if you want to be able to query against 
the text of "all" fields you need to use copyField to create some kind of 
"all" or "allText" field 9you can name it whatever you want)



-Hoss


Mime
View raw message