lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jreeman <mimo...@hotmail.com>
Subject Sorting in a particular case
Date Sat, 10 Feb 2007 20:39:03 GMT

Hello,


Here is my problem : let say that a document can have one of its meta data
let's say 'domains' set either to "domain1" either to "domain2" either to
value "all_domains".

"all_domains" meaning the both domains ("domain1" and "domain2") are linked
to the document or rather the documents belongs to the two domains.

Now let's figure out that there are three documents:

the first "document1" has its metadata "domains" set to "domain1"
the second "document2" has its metadata "domains" set to "domain2"
the third document "document3" has its metadata "domains" set to
"all_domains".



My issue is to retrieve the first two documents sorted by relevance like
that :

document1 
document2


of course : when the user wants the documents belonging to "domain1".

Perhaps, do you have a solution to do this with lucene ?

Thang you for your help in advance.
-- 
View this message in context: http://www.nabble.com/Sorting-in-a-particular-case-tf3206612.html#a8904585
Sent from the Lucene - General mailing list archive at Nabble.com.

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