This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#63 Added an --app-type parameter to "ml new". Still in testing.
- Loading branch information
Showing
4 changed files
with
122 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<search:options xmlns:search="http://marklogic.com/appservices/search"> | ||
<search:search-option>unfiltered</search:search-option> | ||
<search:page-length>10</search:page-length> | ||
<search:term apply="term"> | ||
<search:empty apply="all-results"/> | ||
<search:term-option>punctuation-insensitive</search:term-option> | ||
<search:term-option>stemmed</search:term-option> | ||
</search:term> | ||
<search:grammar> | ||
<search:quotation>"</search:quotation> | ||
<search:implicit> | ||
<cts:and-query strength="20" xmlns:cts="http://marklogic.com/cts"/> | ||
</search:implicit> | ||
<search:starter strength="30" apply="grouping" delimiter=")">(</search:starter> | ||
<search:starter strength="40" apply="prefix" element="cts:not-query">-</search:starter> | ||
<search:joiner strength="10" apply="infix" element="cts:or-query" tokenize="word">OR</search:joiner> | ||
<search:joiner strength="20" apply="infix" element="cts:and-query" tokenize="word">AND</search:joiner> | ||
<search:joiner strength="30" apply="infix" element="cts:near-query" tokenize="word">NEAR</search:joiner> | ||
<search:joiner strength="30" apply="near2" consume="2" element="cts:near-query">NEAR/</search:joiner> | ||
<search:joiner strength="50" apply="constraint">:</search:joiner> | ||
<search:joiner strength="50" apply="constraint" compare="LT" tokenize="word">LT</search:joiner> | ||
<search:joiner strength="50" apply="constraint" compare="LE" tokenize="word">LE</search:joiner> | ||
<search:joiner strength="50" apply="constraint" compare="GT" tokenize="word">GT</search:joiner> | ||
<search:joiner strength="50" apply="constraint" compare="GE" tokenize="word">GE</search:joiner> | ||
<search:joiner strength="50" apply="constraint" compare="NE" tokenize="word">NE</search:joiner> | ||
</search:grammar> | ||
<search:sort-order direction="descending"> | ||
<search:score/> | ||
</search:sort-order> | ||
<search:transform-results apply="snippet"> | ||
<search:preferred-elements><search:element ns="" name="body"/></search:preferred-elements> | ||
<search:max-matches>1</search:max-matches> | ||
<search:max-snippet-chars>150</search:max-snippet-chars> | ||
<search:per-match-tokens>20</search:per-match-tokens> | ||
</search:transform-results> | ||
<search:return-query>1</search:return-query> | ||
<search:operator name="results"> | ||
<search:state name="compact"> | ||
<search:transform-results apply="snippet"> | ||
<search:preferred-elements><search:element ns="" name="body"/></search:preferred-elements> | ||
<search:max-matches>1</search:max-matches> | ||
<search:max-snippet-chars>150</search:max-snippet-chars> | ||
<search:per-match-tokens>20</search:per-match-tokens> | ||
</search:transform-results> | ||
</search:state> | ||
<search:state name="detailed"> | ||
<search:transform-results apply="snippet"> | ||
<search:preferred-elements><search:element ns="" name="body"/></search:preferred-elements> | ||
<search:max-matches>2</search:max-matches> | ||
<search:max-snippet-chars>400</search:max-snippet-chars> | ||
<search:per-match-tokens>30</search:per-match-tokens> | ||
</search:transform-results> | ||
</search:state> | ||
</search:operator> | ||
<annotation xmlns="http://marklogic.com/appservices/search">Delta options here</annotation> | ||
</search:options> |
This file contains 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
This file contains 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