I'm replacing the search on http://jobs.perl.org/ with Elastic
Search. So far everything is working very nicely - it's been a
pleasure to work with (well, except the obscure errors while I was
learning the query syntax).
I loaded all the old/expired jobs into the index, too -- the intention
was to be able to do a "more like this" query to help the user find an
active similar job when requesting details for a job that's expired or
been removed from the site by the poster.
To do this I added an 'active: [0 | 1]' flag to each document and in
regular search I just filter on this; it works great.
However -- I can't figure out how to do the filter on the mlt query.
Is it not possible?