Karussell
Karussell

Reputation: 17375

Solr match all aka *:* does not work

Don't know what I did wrong. I have two indices with identical documents in it. The local index was replicated from a master which responds correctly, so the same solrconfig.xml and schema.xml file. But if I query the index on my local machine with *:* I get 0 docs. (other queries on my local machine are working correct) I tried jetty and tomcat for the local index. no success.

The *:* behaviour is crucial for me, because some test cases are failing now. Do you have an idea what could be wrong?

Upvotes: 0

Views: 600

Answers (2)

Karussell
Karussell

Reputation: 17375

Simply remove q=*:* from the query to get all results with dismax

Upvotes: 0

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99720

You probably have dismax set up as the default query handler instead of the standard one. Check your solrconfig.xml.

Upvotes: 2

Related Questions