Module org.elasticsearch.server
Package org.elasticsearch.search.runtime
Class IpScriptFieldExistsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<IpFieldScript>
org.elasticsearch.search.runtime.IpScriptFieldExistsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorsConstructorDescriptionIpScriptFieldExistsQuery
(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionprotected static InetAddress
decode
(org.apache.lucene.util.BytesRef ref) protected boolean
matches
(org.apache.lucene.util.BytesRef[] values, int count) Does the value match this query?protected final boolean
matches
(IpFieldScript scriptContext, int docId) final String
Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
createTwoPhaseIterator, createWeight, equals, fieldName, hashCode, script, visit
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, rewrite, sameClassAs, toString
-
Constructor Details
-
IpScriptFieldExistsQuery
public IpScriptFieldExistsQuery(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName)
-
-
Method Details
-
matches
protected boolean matches(org.apache.lucene.util.BytesRef[] values, int count) Does the value match this query? -
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<IpFieldScript>
-
decode
-