lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: complex query
Date Tue, 19 Jan 2010 21:53:15 GMT

: 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
View raw message