I'm using RoR + acts_as_solr to query a Solr database.
I'm used to using "*" to select all, thanks to MySQL, but that command fires an exception in Solr. Are they other wildcards I can use? Suggestions? Thanks!
I'm using RoR + acts_as_solr to query a Solr database.
I'm used to using "*" to select all, thanks to MySQL, but that command fires an exception in Solr. Are they other wildcards I can use? Suggestions? Thanks!
You can't query for "all" in lucene. The typical way to do it is to add a field with the same value for all documents and query for that value.
In Solr you can get all documents by querying *:*
(except for pagination, that's another topic)