org.apache.lucene.search.Query.extractTerms()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中org.apache.lucene.search.Query.extractTerms方法的一些代码示例,展示了Query.extractTerms的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.extractTerms方法的具体详情如下:
包路径:org.apache.lucene.search.Query
类名称:Query
方法名:extractTerms

Query.extractTerms介绍

[英]Expert: adds all terms occuring in this query to the terms set. Only works if this query is in its #rewrite form.
[中]专家:将此查询中出现的所有术语添加到术语集中。仅当此查询处于#重写形式时才有效。

代码示例

代码示例来源:origin: org.exoplatform.jcr/exo.jcr.component.core

/**
* {@inheritDoc}
*/
@Override
public void extractTerms(Set<Term> terms)
{
 contextQuery.extractTerms(terms);
}

代码示例来源:origin: org.xcmis/xcmis-search-service

/**
* {@inheritDoc}
*/
public void extractTerms(Set terms)
{
 parentQuery.extractTerms(terms);
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  if (stdRangeQuery != null) {
    stdRangeQuery.extractTerms(terms);
  }
}

代码示例来源:origin: apache/jackrabbit

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  contextQuery.extractTerms(terms);
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  contextQuery.extractTerms(terms);
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  context.extractTerms(terms);
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  contextQuery.extractTerms(terms);
  subQuery.extractTerms(terms);
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

@Override
public void extractTerms(Set<Term> terms) {
  if (multiTermQuery != null) {
    multiTermQuery.extractTerms(terms);
  }
}

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-core

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  contextQuery.extractTerms(terms);
}

代码示例来源:origin: org.exoplatform.jcr/exo.jcr.component.core

/**
* {@inheritDoc}
*/
public void extractTerms(Set<Term> terms)
{
 if (stdRangeQuery != null)
 {
   stdRangeQuery.extractTerms(terms);
 }
}

代码示例来源:origin: org.exoplatform.jcr/exo.jcr.component.core

/**
* {@inheritDoc}
*/
@Override
public void extractTerms(Set<Term> terms)
{
 contextQuery.extractTerms(terms);
 subQuery.extractTerms(terms);
}

代码示例来源:origin: org.exoplatform.jcr/exo.jcr.component.core

/**
* {@inheritDoc}
*/
@Override
public void extractTerms(Set<Term> terms)
{
 context.extractTerms(terms);
}

代码示例来源:origin: apache/jackrabbit

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  contextQuery.extractTerms(terms);
}

代码示例来源:origin: apache/jackrabbit

@Override
public void extractTerms(Set<Term> terms) {
  if (multiTermQuery != null) {
    multiTermQuery.extractTerms(terms);
  }
}

代码示例来源:origin: apache/jackrabbit

/**
 * {@inheritDoc}
 */
public void extractTerms(Set<Term> terms) {
  if (stdRangeQuery != null) {
    stdRangeQuery.extractTerms(terms);
  }
}

代码示例来源:origin: org.apache.lucene/com.springsource.org.apache.lucene

public void extractTerms(Set terms) {
  for (int i = 0; i < disjuncts.size(); i++) {
    ((Query)disjuncts.get(i)).extractTerms(terms);
  }
}

代码示例来源:origin: org.apache.lucene/lucene-core-jfrog

public void extractTerms(Set terms) {
  for (int i = 0; i < disjuncts.size(); i++) {
    ((Query)disjuncts.get(i)).extractTerms(terms);
  }
}

代码示例来源:origin: org.apache.lucene/com.springsource.org.apache.lucene

public void extractTerms(Set terms) {
 subQuery.extractTerms(terms);
 for(int i = 0; i < valSrcQueries.length; i++) {
  valSrcQueries[i].extractTerms(terms);
 }
}

代码示例来源:origin: org.apache.lucene/lucene-core-jfrog

public void extractTerms(Set terms) {
  for (Iterator i = clauses.iterator(); i.hasNext();) {
    BooleanClause clause = (BooleanClause) i.next();
    clause.getQuery().extractTerms(terms);
   }
}

代码示例来源:origin: org.apache.lucene/lucene-core-jfrog

public void extractTerms(Set terms) {
 subQuery.extractTerms(terms);
 for(int i = 0; i < valSrcQueries.length; i++) {
  valSrcQueries[i].extractTerms(terms);
 }
}

相关文章