Last active
December 31, 2015 16:49
-
-
Save eedeebee/8015759 to your computer and use it in GitHub Desktop.
Query plan search options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <options xmlns="http://marklogic.com/appservices/search"> | |
| <search-option>unfiltered</search-option> | |
| <quality-weight>0</quality-weight> | |
| <return-plan>true</return-plan> | |
| <debug>true</debug> | |
| </options> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Posting the options to the REST server | |
| curl --anyauth --user user:password -X POST -d@'./query-plan-search-options.xml' \ | |
| -i -H "Content-type:application/xml" \ | |
| http://localhost:8003/v1/config/query/tweet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment