Tabnine Logo
InnerHitBuilder.writeToBWC
Code IndexAdd Tabnine to your IDE (free)

How to use
writeToBWC
method
in
org.elasticsearch.index.query.InnerHitBuilder

Best Java code snippets using org.elasticsearch.index.query.InnerHitBuilder.writeToBWC (Showing top 12 results out of 315)

origin: org.elasticsearch/elasticsearch

/**
 * BWC serialization for nested {@link InnerHitBuilder}.
 * Should only be used to send nested inner hits to nodes pre 5.5.
 */
protected void writeToNestedBWC(StreamOutput out, QueryBuilder query, String nestedPath) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, nestedPath, null);
}
origin: org.elasticsearch/elasticsearch

/**
 * BWC serialization for parent/child {@link InnerHitBuilder}.
 * Should only be used to send hasParent or hasChild inner hits to nodes pre 5.5.
 */
public void writeToParentChildBWC(StreamOutput out, QueryBuilder query, String parentChildPath) throws IOException {
  assert(out.getVersion().before(Version.V_5_5_0)) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, null, parentChildPath);
}
origin: org.elasticsearch/elasticsearch

/**
 * BWC serialization for collapsing {@link InnerHitBuilder}.
 * Should only be used to send collapsing inner hits to nodes pre 5.5.
 */
public void writeToCollapseBWC(StreamOutput out) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, new MatchAllQueryBuilder(), null, null);
}
origin: apache/servicemix-bundles

/**
 * BWC serialization for nested {@link InnerHitBuilder}.
 * Should only be used to send nested inner hits to nodes pre 5.5.
 */
protected void writeToNestedBWC(StreamOutput out, QueryBuilder query, String nestedPath) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, nestedPath, null);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * BWC serialization for nested {@link InnerHitBuilder}.
 * Should only be used to send nested inner hits to nodes pre 5.5.
 */
protected void writeToNestedBWC(StreamOutput out, QueryBuilder query, String nestedPath) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, nestedPath, null);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * BWC serialization for parent/child {@link InnerHitBuilder}.
 * Should only be used to send hasParent or hasChild inner hits to nodes pre 5.5.
 */
public void writeToParentChildBWC(StreamOutput out, QueryBuilder query, String parentChildPath) throws IOException {
  assert(out.getVersion().before(Version.V_5_5_0)) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, null, parentChildPath);
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * BWC serialization for nested {@link InnerHitBuilder}.
 * Should only be used to send nested inner hits to nodes pre 5.5.
 */
protected void writeToNestedBWC(StreamOutput out, QueryBuilder query, String nestedPath) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, nestedPath, null);
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * BWC serialization for parent/child {@link InnerHitBuilder}.
 * Should only be used to send hasParent or hasChild inner hits to nodes pre 5.5.
 */
public void writeToParentChildBWC(StreamOutput out, QueryBuilder query, String parentChildPath) throws IOException {
  assert(out.getVersion().before(Version.V_5_5_0)) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, null, parentChildPath);
}
origin: apache/servicemix-bundles

/**
 * BWC serialization for parent/child {@link InnerHitBuilder}.
 * Should only be used to send hasParent or hasChild inner hits to nodes pre 5.5.
 */
public void writeToParentChildBWC(StreamOutput out, QueryBuilder query, String parentChildPath) throws IOException {
  assert(out.getVersion().before(Version.V_5_5_0)) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, query, null, parentChildPath);
}
origin: apache/servicemix-bundles

/**
 * BWC serialization for collapsing {@link InnerHitBuilder}.
 * Should only be used to send collapsing inner hits to nodes pre 5.5.
 */
public void writeToCollapseBWC(StreamOutput out) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, new MatchAllQueryBuilder(), null, null);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * BWC serialization for collapsing {@link InnerHitBuilder}.
 * Should only be used to send collapsing inner hits to nodes pre 5.5.
 */
public void writeToCollapseBWC(StreamOutput out) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, new MatchAllQueryBuilder(), null, null);
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * BWC serialization for collapsing {@link InnerHitBuilder}.
 * Should only be used to send collapsing inner hits to nodes pre 5.5.
 */
public void writeToCollapseBWC(StreamOutput out) throws IOException {
  assert out.getVersion().before(Version.V_5_5_0) :
    "invalid output version, must be < " + Version.V_5_5_0.toString();
  writeToBWC(out, new MatchAllQueryBuilder(), null, null);
}
org.elasticsearch.index.queryInnerHitBuilderwriteToBWC

Popular methods of InnerHitBuilder

  • fromXContent
  • getName
  • isIgnoreUnmapped
    Whether to include inner hits in the search response hits if required mappings is missing
  • <init>
    Read from a stream.
  • setIgnoreUnmapped
  • getDocValueFields
    Gets the docvalue fields.
  • getFetchSourceContext
  • getFrom
  • getHighlightBuilder
  • getScriptFields
  • getSize
  • getSorts
  • getSize,
  • getSorts,
  • getStoredFieldsContext,
  • isExplain,
  • isTrackScores,
  • isVersion,
  • setStoredFieldNames,
  • toXContent,
  • writeToCollapseBWC

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now