I'm trying to do a solr search such that results are shown if a certain field has ANY value

Posted by Akeem on Stack Overflow See other posts from Stack Overflow or by Akeem
Published on 2010-04-19T22:28:24Z Indexed on 2010/04/19 22:33 UTC
Read the original article Hit count: 133

Filed under:
|

I'm running a search with a type field. I'd like to show results of a certain type ONLY if two other field have values for them. So in my filter query I thought it would be(type:sometype AND field1:* AND field2:*) but wildcard queries can't start with the *.

© Stack Overflow or respective owner

Related posts about solr

Related posts about lucene