Class ContextMapping.InternalQueryContext
java.lang.Object
org.elasticsearch.search.suggest.completion.context.ContextMapping.InternalQueryContext
- Enclosing class:
- ContextMapping<T extends org.elasticsearch.common.xcontent.ToXContent>
public static class ContextMapping.InternalQueryContext
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description InternalQueryContext(java.lang.String context, int boost, boolean isPrefix)
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
context
public final java.lang.String context -
boost
public final int boost -
isPrefix
public final boolean isPrefix
-
-
Constructor Details
-
InternalQueryContext
public InternalQueryContext(java.lang.String context, int boost, boolean isPrefix)
-
-
Method Details
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-