lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How do I make sure the resulting documents contain the query terms?
Date Mon, 06 Jun 2011 22:21:15 GMT
I'm having a hard time understanding what you're driving at, can
you provide some examples? This *looks* like filter queries,
but I think you already know about those...

Best
Erick

On Mon, Jun 6, 2011 at 4:00 PM, Gabriele Kahlout
<gabriele@mysimpatico.com> wrote:
> Hello,
>
> I've seen that through boosting it's possible to influence the scoring
> function, but what I would like is sort of a boolean property. In some way
> it's to search only the indexed documents by that keyword (or the
> intersection/union) rather than the whole set.
> Is this supported in any way?
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧
y ∈
> L(-[a-z]+[0-9]X)).
>

Mime
View raw message