如果妳祈求心灵的平和与快乐,就去信仰上帝!如果妳希望成为一个真理的门徒,探索吧!! -- 尼采
I can calculate the motions of havenly bodies, but not the madness of people. -- Newton
You have to be out to be in.

搜索引擎

Java, Web, Searching Engine

  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  24 随笔 :: 25 文章 :: 27 评论 :: 0 Trackbacks
      1. IndexSearcher  IndexSearcher is to searching what IndexWriter is to indexing. You can
      think of IndexSearcher as a class that opens an index in a read-only mode.

      2. Term  A Term consists of a pair of string elements: the name of the field and the value
      of that field.
     
      3. Query Lucene comes with a number of concrete Query subclasses. Query is the common,
      abstract parent class. It contains several utility methods, the most interesting of which is
      setBoost(float), described in section 3.5.9.

      BooleanQuery, BoostingQuery, ConstantScoreQuery, ConstantScoreRangeQuery,
      CustomScoreQuery, DisjunctionMaxQuery, FilteredQuery, FuzzyLikeThisQuery,
      MatchAllDocsQuery, MoreLikeThisQuery, MultiPhraseQuery, MultiTermQuery, PhraseQuery,
      PrefixQuery, RangeQuery, SpanQuery, TermQuery, ValueSourceQuery, FuzzyQuery,
      RegexQuery, WildcardQuery

      4. TermQuery It’s used for matching documents that contain fields with specific values,

      5. Hits The Hits class is a simple container of pointers to ranked search results—documents
      that match a given query. For performance reasons, Hits instances don’t load from the index
      all documents that match a query, but only a small portion of them at a time.
posted on 2007-10-31 20:06 专心练剑 阅读(652) 评论(0)  编辑 收藏 引用 所属分类: 搜索引擎
只有注册用户登录后才能发表评论。