lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wangsheng Mei <hairr...@gmail.com>
Subject Re: complex query
Date Wed, 20 Jan 2010 04:56:21 GMT
Thanks for your attention.

I think I was just a little over-worried about search performance,.
Fortunately, solr works pretty nice until present, it's fast enough for me.

2010/1/20 Chris Hostetter <hossman_lucene@fucit.org>

>
> : I have considered building lucene index like:
> : Document:  { title, content, author, friends }
>
> That seems like the right appraoch.
>
> : Thus, author and friends are two seperate fields. so I can boost them
> : seperately.
> : The problem is, if a document's author is the logged-in user, it's
> uncessary
> : to search the friends field, because it would not appear in that
>
> That's like saying "if a document doesn't match my query, there's no
> pointing in checking if it matches my query" ... you don't know if
> something matches until you query against it, and you don't know if a doc
> is written by the logged in user, or written by a freind of hte logged in
> user unless you query against those criteria.
>
>
> -Hoss
>



-- 
梅旺生

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message