[MarkLogic Dev General] Search Constraints in XQuery

Ravindra B Mamidipaka ravi_b_m at hotmail.com
Wed Jan 20 05:59:44 PST 2016


Hello Charles,

  Thank you for the suggestions.. Is it possible to provide a
container -query example for this case.. I am trying to wrap my head around the
concept and getting nowhere :).. Following is what I tried, and it does not work...

let $search := "(username:WHITEMK) AND (concept.registrar: )"

let $options := 
  
    
      
        registrar
      
    
    
      
        username
        case-insensitive
        wildcarded
      
    
    false
    false
    false
    false
    false
    unfiltered
    unfaceted
    format-json
    score-simple
  

let $start := 1
let $page-length :=10000

return search:search($search, $options, $start, $page-length)


Thanks,
Ravi







_______________________________________________ General mailing list General at developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20160120/3a4881b7/attachment.html 


More information about the General mailing list