當前位置: 首頁>>代碼示例>>Java>>正文


Java FTSWildTerm類代碼示例

本文整理匯總了Java中org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm的典型用法代碼示例。如果您正苦於以下問題:Java FTSWildTerm類的具體用法?Java FTSWildTerm怎麽用?Java FTSWildTerm使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


FTSWildTerm類屬於org.alfresco.repo.search.impl.querymodel.impl.functions包,在下文中一共展示了FTSWildTerm類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: DBQueryModelFactory

import org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm; //導入依賴的package包/類
public DBQueryModelFactory()
{
    functions.put(Equals.NAME, new DBEquals());
    functions.put(PropertyAccessor.NAME, new DBPropertyAccessor());
    functions.put(Score.NAME, new DBScore());
    functions.put(Upper.NAME, new DBUpper());
    functions.put(Lower.NAME, new DBLower());

    functions.put(NotEquals.NAME, new DBNotEquals());
    functions.put(LessThan.NAME, new DBLessThan());
    functions.put(LessThanOrEquals.NAME, new DBLessThanOrEquals());
    functions.put(GreaterThan.NAME, new DBGreaterThan());
    functions.put(GreaterThanOrEquals.NAME, new DBGreaterThanOrEquals());

    functions.put(In.NAME, new DBIn());
    functions.put(Like.NAME, new DBLike());
    functions.put(Exists.NAME, new DBExists());

    functions.put(Child.NAME, new DBChild());
    functions.put(Descendant.NAME, new DBDescendant());

    functions.put(FTSTerm.NAME, new DBFTSTerm());
    functions.put(FTSPhrase.NAME, new DBFTSPhrase());
    functions.put(FTSProximity.NAME, new DBFTSProximity());
    functions.put(FTSRange.NAME, new DBFTSRange());
    functions.put(FTSPrefixTerm.NAME, new DBFTSPrefixTerm());
    functions.put(FTSWildTerm.NAME, new DBFTSWildTerm());
    functions.put(FTSFuzzyTerm.NAME, new DBFTSFuzzyTerm());
}
 
開發者ID:Alfresco,項目名稱:alfresco-repository,代碼行數:30,代碼來源:DBQueryModelFactory.java

示例2: LuceneQueryModelFactory

import org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm; //導入依賴的package包/類
/**
 * Default lucene query model factory and functions
 */
public LuceneQueryModelFactory()
{
    functions.put(Equals.NAME, new LuceneEquals<Q, S, E>());
    functions.put(PropertyAccessor.NAME, new LucenePropertyAccessor<Q, S, E>());
    functions.put(Score.NAME, new LuceneScore<Q, S, E>());
    functions.put(Upper.NAME, new LuceneUpper<Q, S, E>());
    functions.put(Lower.NAME, new LuceneLower<Q, S, E>());

    functions.put(NotEquals.NAME, new LuceneNotEquals<Q, S, E>());
    functions.put(LessThan.NAME, new LuceneLessThan<Q, S, E>());
    functions.put(LessThanOrEquals.NAME, new LuceneLessThanOrEquals<Q, S, E>());
    functions.put(GreaterThan.NAME, new LuceneGreaterThan<Q, S, E>());
    functions.put(GreaterThanOrEquals.NAME, new LuceneGreaterThanOrEquals<Q, S, E>());

    functions.put(In.NAME, new LuceneIn<Q, S, E>());
    functions.put(Like.NAME, new LuceneLike<Q, S, E>());
    functions.put(Exists.NAME, new LuceneExists<Q, S, E>());

    functions.put(Child.NAME, new LuceneChild<Q, S, E>());
    functions.put(Descendant.NAME, new LuceneDescendant<Q, S, E>());

    functions.put(FTSTerm.NAME, new LuceneFTSTerm<Q, S, E>());
    functions.put(FTSPhrase.NAME, new LuceneFTSPhrase<Q, S, E>());
    functions.put(FTSProximity.NAME, new LuceneFTSProximity<Q, S, E>());
    functions.put(FTSRange.NAME, new LuceneFTSRange<Q, S, E>());
    functions.put(FTSPrefixTerm.NAME, new LuceneFTSPrefixTerm<Q, S, E>());
    functions.put(FTSWildTerm.NAME, new LuceneFTSWildTerm<Q, S, E>());
    functions.put(FTSFuzzyTerm.NAME, new LuceneFTSFuzzyTerm<Q, S, E>());
}
 
開發者ID:Alfresco,項目名稱:alfresco-data-model,代碼行數:33,代碼來源:LuceneQueryModelFactory.java


注:本文中的org.alfresco.repo.search.impl.querymodel.impl.functions.FTSWildTerm類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。