: 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

Reply via email to