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/06/19 12:35:35 UTC

"site:" feature in Solr?

Hello,

Beside creating an index with just the site in question, is it possible like
with Google to search for results only in a given domain?

-- 
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: "site:" feature in Solr?

Posted by Ahmet Arslan <io...@yahoo.com>.
> Beside creating an index with just the site in question, is
> it possible like
> with Google to search for results only in a given domain?

If you have an appropriate field that is indexed, yes. fq=site:foo.com
http://wiki.apache.org/solr/CommonQueryParameters#fq