Hey Shannon,

Would the <additional-query> option meet your need here? Effectively, it gets 
AND-ed with the rest of the query. Or if you are looking to constrain only bare 
terms, you might override the term function with <term apply="myfunction">...

-m

On Jun 23, 2010, at 3:31 PM, Shannon wrote:

> Hello,
> 
> Using Search API, I need search:search, when no operator is specified, to be 
> constrained by a word-query of field -- Can a default constraint be 
> configured in an options node, or should I omit the field approach and use 
> unions in the searchable expression instead? My aim is to define many 
> includes and excludes, and a field would be more elegant -- Maybe a 
> default-query-source, similar to default-suggestion-source, would be a useful 
> option?
> 
> Thanks in advance.
> 
> Best,
> Shannon
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to