Well, here what I figure out ! (mm=1<50% , qf=topic , q="1" "0" ) ==> q=topic:0 or topic:1
On 3/22/10, Armando Ota <armando...@siol.net> wrote: > > Hi > > I need a little help with query for my problem (if it can be solved) > > I have a field in a document called topic > > this field contains some values, 0 (for no topic) or 1 (topic 1), 2, 3, > etc ... > > It can contain many values like 1, 10, 50, etc (for 1 doc) > > So now to the problem: > I would like to get documents that have 0 for topic value and documents > that only have for example 1 for topic value inserted > > articles for example: > article 1topics: 1, 5, 10, 20, 24 > article 2 topics: 0 > article 3 topics: 1 > article 4 topic: 5, 10, 20 > article 5 topic: 1, 13, 19 > > So I need search query to return me only article 2 and 3 not other articles > with 1 for topic value > > Can that be done ? Any help appreciated > > Kind regards > > Armando > > -- Elsadek Software Engineer- J2EE / WEB / ESB MULE