### YamlMime:JavaType uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter" name: "ShingleTokenFilter" nameWithType: "ShingleTokenFilter" summary: "Creates combinations of tokens as a single token." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ShingleTokenFilter**
extends " constructors: - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.ShingleTokenFilter(java.lang.String)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.ShingleTokenFilter(String name)" name: "ShingleTokenFilter(String name)" nameWithType: "ShingleTokenFilter.ShingleTokenFilter(String name)" summary: "Creates an instance of ShingleTokenFilter class." parameters: - description: "the name value to set." name: "name" type: "String" syntax: "public ShingleTokenFilter(String name)" desc: "Creates an instance of ShingleTokenFilter class." methods: - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.areOutputUnigrams()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.areOutputUnigrams()" name: "areOutputUnigrams()" nameWithType: "ShingleTokenFilter.areOutputUnigrams()" summary: "Get the outputUnigrams property: A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles." syntax: "public Boolean areOutputUnigrams()" desc: "Get the outputUnigrams property: A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles. Default is true." returns: description: "the outputUnigrams value." type: "Boolean" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.areOutputUnigramsIfNoShingles()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.areOutputUnigramsIfNoShingles()" name: "areOutputUnigramsIfNoShingles()" nameWithType: "ShingleTokenFilter.areOutputUnigramsIfNoShingles()" summary: "Get the outputUnigramsIfNoShingles property: A value indicating whether to output unigrams for those times when no shingles are available." syntax: "public Boolean areOutputUnigramsIfNoShingles()" desc: "Get the outputUnigramsIfNoShingles property: A value indicating whether to output unigrams for those times when no shingles are available. This property takes precedence when outputUnigrams is set to false. Default is false." returns: description: "the outputUnigramsIfNoShingles value." type: "Boolean" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "ShingleTokenFilter.fromJson(JsonReader jsonReader)" summary: "Reads an instance of ShingleTokenFilter from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static ShingleTokenFilter fromJson(JsonReader jsonReader)" exceptions: - description: "If the deserialized JSON object was missing any required properties." type: "IOException" desc: "Reads an instance of ShingleTokenFilter from the JsonReader." returns: description: "An instance of ShingleTokenFilter if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getFilterToken()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getFilterToken()" name: "getFilterToken()" nameWithType: "ShingleTokenFilter.getFilterToken()" summary: "Get the filterToken property: The string to insert for each position at which there is no token." syntax: "public String getFilterToken()" desc: "Get the filterToken property: The string to insert for each position at which there is no token. Default is an underscore (\"\\_\")." returns: description: "the filterToken value." type: "String" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getMaxShingleSize()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getMaxShingleSize()" name: "getMaxShingleSize()" nameWithType: "ShingleTokenFilter.getMaxShingleSize()" summary: "Get the maxShingleSize property: The maximum shingle size." syntax: "public Integer getMaxShingleSize()" desc: "Get the maxShingleSize property: The maximum shingle size. Default and minimum value is 2." returns: description: "the maxShingleSize value." type: "Integer" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getMinShingleSize()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getMinShingleSize()" name: "getMinShingleSize()" nameWithType: "ShingleTokenFilter.getMinShingleSize()" summary: "Get the minShingleSize property: The minimum shingle size." syntax: "public Integer getMinShingleSize()" desc: "Get the minShingleSize property: The minimum shingle size. Default and minimum value is 2. Must be less than the value of maxShingleSize." returns: description: "the minShingleSize value." type: "Integer" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getOdataType()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getOdataType()" name: "getOdataType()" nameWithType: "ShingleTokenFilter.getOdataType()" summary: "Get the odataType property: A URI fragment specifying the type of token filter." overridden: "com.azure.search.documents.indexes.models.TokenFilter.getOdataType()" syntax: "public String getOdataType()" desc: "Get the odataType property: A URI fragment specifying the type of token filter." returns: description: "the odataType value." type: "String" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getTokenSeparator()" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.getTokenSeparator()" name: "getTokenSeparator()" nameWithType: "ShingleTokenFilter.getTokenSeparator()" summary: "Get the tokenSeparator property: The string to use when joining adjacent tokens to form a shingle." syntax: "public String getTokenSeparator()" desc: "Get the tokenSeparator property: The string to use when joining adjacent tokens to form a shingle. Default is a single space (\" \")." returns: description: "the tokenSeparator value." type: "String" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setFilterToken(java.lang.String)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setFilterToken(String filterToken)" name: "setFilterToken(String filterToken)" nameWithType: "ShingleTokenFilter.setFilterToken(String filterToken)" summary: "Set the filterToken property: The string to insert for each position at which there is no token." parameters: - description: "the filterToken value to set." name: "filterToken" type: "String" syntax: "public ShingleTokenFilter setFilterToken(String filterToken)" desc: "Set the filterToken property: The string to insert for each position at which there is no token. Default is an underscore (\"\\_\")." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setMaxShingleSize(java.lang.Integer)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setMaxShingleSize(Integer maxShingleSize)" name: "setMaxShingleSize(Integer maxShingleSize)" nameWithType: "ShingleTokenFilter.setMaxShingleSize(Integer maxShingleSize)" summary: "Set the maxShingleSize property: The maximum shingle size." parameters: - description: "the maxShingleSize value to set." name: "maxShingleSize" type: "Integer" syntax: "public ShingleTokenFilter setMaxShingleSize(Integer maxShingleSize)" desc: "Set the maxShingleSize property: The maximum shingle size. Default and minimum value is 2." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setMinShingleSize(java.lang.Integer)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setMinShingleSize(Integer minShingleSize)" name: "setMinShingleSize(Integer minShingleSize)" nameWithType: "ShingleTokenFilter.setMinShingleSize(Integer minShingleSize)" summary: "Set the minShingleSize property: The minimum shingle size." parameters: - description: "the minShingleSize value to set." name: "minShingleSize" type: "Integer" syntax: "public ShingleTokenFilter setMinShingleSize(Integer minShingleSize)" desc: "Set the minShingleSize property: The minimum shingle size. Default and minimum value is 2. Must be less than the value of maxShingleSize." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setOutputUnigrams(java.lang.Boolean)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setOutputUnigrams(Boolean outputUnigrams)" name: "setOutputUnigrams(Boolean outputUnigrams)" nameWithType: "ShingleTokenFilter.setOutputUnigrams(Boolean outputUnigrams)" summary: "Set the outputUnigrams property: A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles." parameters: - description: "the outputUnigrams value to set." name: "outputUnigrams" type: "Boolean" syntax: "public ShingleTokenFilter setOutputUnigrams(Boolean outputUnigrams)" desc: "Set the outputUnigrams property: A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles. Default is true." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setOutputUnigramsIfNoShingles(java.lang.Boolean)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setOutputUnigramsIfNoShingles(Boolean outputUnigramsIfNoShingles)" name: "setOutputUnigramsIfNoShingles(Boolean outputUnigramsIfNoShingles)" nameWithType: "ShingleTokenFilter.setOutputUnigramsIfNoShingles(Boolean outputUnigramsIfNoShingles)" summary: "Set the outputUnigramsIfNoShingles property: A value indicating whether to output unigrams for those times when no shingles are available." parameters: - description: "the outputUnigramsIfNoShingles value to set." name: "outputUnigramsIfNoShingles" type: "Boolean" syntax: "public ShingleTokenFilter setOutputUnigramsIfNoShingles(Boolean outputUnigramsIfNoShingles)" desc: "Set the outputUnigramsIfNoShingles property: A value indicating whether to output unigrams for those times when no shingles are available. This property takes precedence when outputUnigrams is set to false. Default is false." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setTokenSeparator(java.lang.String)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.setTokenSeparator(String tokenSeparator)" name: "setTokenSeparator(String tokenSeparator)" nameWithType: "ShingleTokenFilter.setTokenSeparator(String tokenSeparator)" summary: "Set the tokenSeparator property: The string to use when joining adjacent tokens to form a shingle." parameters: - description: "the tokenSeparator value to set." name: "tokenSeparator" type: "String" syntax: "public ShingleTokenFilter setTokenSeparator(String tokenSeparator)" desc: "Set the tokenSeparator property: The string to use when joining adjacent tokens to form a shingle. Default is a single space (\" \")." returns: description: "the ShingleTokenFilter object itself." type: "" - uid: "com.azure.search.documents.indexes.models.ShingleTokenFilter.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.search.documents.indexes.models.ShingleTokenFilter.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "ShingleTokenFilter.toJson(JsonWriter jsonWriter)" overridden: "com.azure.search.documents.indexes.models.TokenFilter.toJson(com.azure.json.JsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" type: "class" desc: "Creates combinations of tokens as a single token. This token filter is implemented using Apache Lucene." metadata: {} package: "com.azure.search.documents.indexes.models" artifact: com.azure:azure-search-documents:11.7.3