From: Beniamino L. <ben...@ya...> - 2006-10-26 07:50:22
|
I think there's something strange because in conf.xml I've checked and I ha= ve the correct configuration to let exist show exist:match tags=0A =0Amsn: = be...@li... =0Askype: bensoren=0A=0A=0A----- Messaggio originale -= ----=0ADa: Beniamino Larocca <ben...@ya...>=0AA: eXist ml <ex= ist...@li...>=0AInviato: Mercoled=EC 25 ottobre 2006, 16:= 11:24=0AOggetto: 1.1 vs 1.1.1 search result difference (error?)=0A=0AI've n= oticed the following difference doing a query search.=0AMy query:=0A=0Alet = $c :=3D for $a in //term[.&=3D"beaver"] let $b :=3D $a/ancestor::termEntry = =0Alet $d :=3D $b/descrip[@type=3D"Subject"][position()=3D1] return if ($b)= then =0A<term id=3D"{util:node-id($b)}">{$a/node()}{$d} <tid>{$b/@id}</tid= ></term>else () =0Areturn if ($c) then <items>{$c}</items> else ()=0A=0A1.1= returns me:=0A=0A<items>=0A <term id=3D"1.4.1.23341">=0A beaver'= >http://exist.sourceforge.net/NS/exist">beaver tree PLANT NAMES AND=0A SPEC= IES=0A <tid id=3D"tid-FAO-23850"/>=0A </term>=0A <term id=3D"1= .4.1.30370">=0A beaver'>http://exist.sourceforge.net/NS/exist">beave= r board WOOD PRODUCTS=0A <tid id=3D"tid-FAO-31044"/>=0A </term>= =0A</items>=0A=0A=0A=0Aand 1.1.1 returns:=0A=0A<items>=0A <term id=3D"1.= 4.1.23341">beaver tree<descrip type=3D"Subject" order=3D"9">PLANT NAMES AND= SPECIES</descrip>=0A <tid id=3D"tid-FAO-23850"/>=0A </term>=0A = <term id=3D"1.4.1.30370">beaver=0A board<descrip type=3D"Subject" order= =3D"9">WOOD PRODUCTS</descrip>=0A <tid id=3D"tid-FAO-31044"/>=0A = </term>=0A</items>=0A=0AWhy in 1.1.1 I do not have the exist:match tag?=0A= =0A =0Amsn: be...@li... =0Askype: bensoren=0A=0A=0A=0A=0A_________= _________________________________________=0ADo You Yahoo!?=0APoco spazio e = tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuit= o per i tuoi file e i messaggi =0Ahttp://mail.yahoo.it =0A=0A=0A=0A=0A_____= _____________________________________________=0ADo You Yahoo!?=0APoco spazi= o e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gra= tuito per i tuoi file e i messaggi =0Ahttp://mail.yahoo.it |