Sorry, Hoss already wrote (even better solution): >...if you use the uniqueKey feature, then you can do id:[* TO *] ... that >acctually works on any field to find all docs...
Fuad wrote: >Define a field <field name="match_all">abcd</field> with constant value >'abcd' for all documents (choose value not listed in any 'stop-word' etc.). >Lucene query 'match_all:abcd' will retrieve 'all' documents. (scan_all was a typo) Thanks!