The LucidWorks Search query parser lets you use the "all" pseudo-field to search across all fields.

See:
http://docs.lucidworks.com/display/lweug/Field+Queries

For example:

q = all:some_word

-- Jack Krupansky

-----Original Message----- From: Ahmet Arslan
Sent: Friday, April 4, 2014 8:13 AM
To: solr-user@lucene.apache.org
Subject: Re: Query and field name with wildcard

Hi,

bq. possible to search a word over the entire index.

You can a get list of all searchable fields (indexed=true) programmatically by https://wiki.apache.org/solr/LukeRequestHandler
And then you can fed this list to qf parameter of (e)dismax.

This could be implemented as a custom query parser plugin that searches a word over the entire index.


Ahmet


On Friday, April 4, 2014 12:08 PM, Alexandre Rafalovitch <arafa...@gmail.com> wrote:
Are you using eDisMax. That gives a lot of options, including field
aliasing, including a single name to multiple fields:
http://wiki.apache.org/solr/ExtendedDisMax#Field_aliasing_.2F_renaming
(with example on p77 of my book
http://www.packtpub.com/apache-solr-for-indexing-data/book :-)

Regards,
  Alex.

Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency



On Fri, Apr 4, 2014 at 3:52 PM, Croci  Francesco Luigi (ID SWS)
<fcr...@id.ethz.ch> wrote:
In my index I have some fields which have the same prefix(rmDocumentTitle, rmDocumentClass, rmDocumentSubclass, rmDocumentArt). Apparently it is not possible to specify a query like this:

q = rm* : some_word

Is there a way to do this without having to write a long list of ORs?

Another question is if it is really not possible to search a word over the entire index. Something like this: q = * : some_word

Thank you
Francesco

Reply via email to