![]() To return only the value, 0050834ja, rename the clID field to search in the subsearch. The subsearch returns the field and value in the format: ( (clID="0050834ja") ) The clID value is then used to search for several sources. The following search looks for a value in the clID field that is associated with a name token or field value. Using the query field name passes only the values: Instead of passing the field and value pairs to the main search, such as: The query field name is similarly to using the format command. Use the query field name when you want the values in the fields returned from the subsearch, but not the field names. (field1=val1_1 AND val1_2) OR (field1=val2_1 AND val2_2)įor multivalue fields, when you use the search field name, the first value of the field is used as the actual search term. For example, you rename the second field in the search results to search, as shown in the following table: You can then pass the data to the primary search. Use the search field name and the format command when you need to append some static data or apply an evaluation on the data in the subsearch. When you rename your fields to anything else, the subsearch returns the new field names that you specify. Renaming a field to search or query is a special use case. You can rename a field to either search or query to change the format of the subsearch results. If the name of a field is either search or query, the values of fields are rendered directly in the reformatted search string.All internal fields, fields that begin with a leading underscore ( _ ) character, are ignored and not formatted as a linear search string.There are a couple of exceptions to the formatting that the format command performs. (field1=val1_1 AND field2=val1_2) OR (field1=val2_1 AND field2=val2_2)įor more information, see the format command. If your subsearch returned a table, such as: This is used when you want to pass the values in the returned fields into the primary search. The format command changes the subsearch results into a single linear search string. When you use a subsearch, the format command is implicitly applied to your subsearch results.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |