You are correct, we don't expose search on the uri lexicon. We have added in 6.0 the use of the document uri lexicon for values calls, so it doesn't seem like a stretch to add search for it.

If your goal is to search and get back a list of document uris, you could set up:

<search:values name="uris">
  <search:uri/>
</search:values>

The docs page has an example on this:

http://docs.marklogic.com/search:values

I know that's not a direct answer, but might help.

Charles

On 11/15/2012 01:40 PM, Mariano Grau Calín wrote:
Hello,
My application has a filter with multiple search options.
Now, i want to add search by uri and to go on using search:search() function. So the result has the same schema:
<search:response ... >
    <search:snippet>
      <DOC>...</DOC>
    </search:snippet>
  </search:result>
  <search:metrics>
 ...
  </search:metrics>
</search:response>
However, i do not find the constraint that include in options.
Is it posible?
Thanks,
Mariano Grau
mgrau @ grupojoly.com
Dpto. Sistemas
Grupo Joly


--
Charles Greer
Senior Engineer
MarkLogic Corporation
[email protected]
Phone: +1 707 408 3277
www.marklogic.com

This e-mail and any accompanying attachments are confidential. The information 
is intended solely for the use of the individual to whom it is addressed. Any 
review, disclosure, copying, distribution, or use of this e-mail communication 
by others is strictly prohibited. If you are not the intended recipient, please 
notify us immediately by returning this message to the sender and delete all 
copies. Thank you for your cooperation.

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to