SOLR-4893: javadoc for the new fieldNameMatchesSchemaField selector

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2013-06-21 20:06:36 +00:00
parent 86b76721e1
commit 6e2d5fd21a
1 changed files with 11 additions and 1 deletions

View File

@ -58,6 +58,16 @@ import org.apache.solr.util.plugin.SolrCoreAware;
* <b>at least one of each</b> to be selected.
* </p>
* <p>
* The following additional selector may be specified as a &lt;bool&gt; - when specified
* as false, only fields that <b>do not</b> match a schema field/dynamic field are selected;
* when specified as true, only fields that <b>do</b> match a schema field/dynamic field are
* selected:
* </p>
* <ul>
* <li><code>fieldNameMatchesSchemaField</code> - selecting specific fields based on whether or not they match a schema field</li>
</li>
* </ul>
* <p>
* One or more <code>excludes</code> &lt;lst&gt; params may also be specified,
* containing any of the above criteria, identifying fields to be excluded
* from seelction even if they match the selection criteria. As with the main
@ -71,7 +81,7 @@ import org.apache.solr.util.plugin.SolrCoreAware;
* fields will be mutated if the name starts with "foo" <i>or</i> "bar";
* <b>unless</b> the field name contains the substring "SKIP" <i>or</i>
* the fieldType is (or subclasses) DateField. Meaning a field named
* "foo_SKIP" is gaurunteed not to be selected, but a field named "bar_smith"
* "foo_SKIP" is guaranteed not to be selected, but a field named "bar_smith"
* that uses StrField will be selected.
* </p>
* <pre class="prettyprint">