Hi All,
 
I'm using lib-search in my web application and a lib-search query match 
documents not desired.
 
By example,
 
doc()//root/pub[name='london' and section='astronomy']
 
works fine and match documents with name and section equal to values in the 
same pub node.
 
However, lib-search query as:
 
search:search-summary(
...
<cts:query xmlns:cts="http://marklogic.com/cts";> 
<https://mail.grupojoly.com/exchweb/bin/redir.asp?URL=http://marklogic.com/cts%22%3E>
 
  <cts:and-query>
    <cts:element-value-query weight="1">
      <cts:QName>name</cts:QName>london<cts:option>lang=es</cts:option>
    </cts:element-value-query>
    <cts:element-value-query weight="1">
      <cts:QName>section</cts:QName>astronomy<cts:option>lang=es</cts:option>
    </cts:element-value-query>
  </cts:and-query>
</cts:query>
...
)
 
find more documents, where may be name='london' in pub i-node and 
section='astronomy' in pub j-node.
 
Is posible get same results in lib-search query than xpath query and how?
 
Thanks,
 
 
Mariano Grau
Dpto. Sistemas
Grupo Joly
 
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to