You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Gabriele Kahlout <ga...@mysimpatico.com> on 2011/09/26 21:33:11 UTC

How to reserve ids?

Hello,

While indexing there are certain urls/ids I'd never want to appear in the
search results (so be indexed). Is there already a 'supported by design'
mechanism to do that to point me too, or should I just create this blacklist
as an processor in the update chain?

-- 
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)).

Re: How to reserve ids?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi Gabriele,

Either the latter option, or just treat them as stop words if you just want to remove those urls/ids from indexed docs (may still get highlighted).

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


>________________________________
>From: Gabriele Kahlout <ga...@mysimpatico.com>
>To: solr-user@lucene.apache.org
>Sent: Monday, September 26, 2011 3:33 PM
>Subject: How to reserve ids?
>
>Hello,
>
>While indexing there are certain urls/ids I'd never want to appear in the
>search results (so be indexed). Is there already a 'supported by design'
>mechanism to do that to point me too, or should I just create this blacklist
>as an processor in the update chain?
>
>-- 
>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)).
>
>
>