On Wed, Aug 17, 2011 at 1:07 PM, slaava <slaav...@gmail.com> wrote: > Thanks for quick reply! > > Yes, this is my backup solution. But I prefer some one-query approach - > there could be many results so I want use SolrQuery.start() and > SolrQuery.rows() and show persons in table with paging.
Was suggesting just one query on the mmdd field, returning results that included the yyyy field, and using mod() on that field in your web (or other) front-end to Solr search. > Are you sure mod() function is supported now? It isn't included in Math.* > function list here http://wiki.apache.org/solr/FunctionQuery#Math..2A > http://wiki.apache.org/solr/FunctionQuery#Math..2A . I'm not on my > job-computer now so I couldn't test it. But if there really modulus is, it > will be great! Am not sure actually, but the way I read the above link, the list of functions there is not necessarily a complete one. Regards, Gora