Kouhei Sutou
null+****@clear*****
Sun Oct 26 11:00:13 JST 2014
Kouhei Sutou 2014-10-26 11:00:13 +0900 (Sun, 26 Oct 2014) New Revision: 4bd4cc8f6015749b791d39ab9d5ff3c94566e6f1 https://github.com/groonga/groonga/commit/4bd4cc8f6015749b791d39ab9d5ff3c94566e6f1 Message: doc: add description what is explained by example Modified files: doc/source/reference/token_filters.rst Modified: doc/source/reference/token_filters.rst (+9 -0) =================================================================== --- doc/source/reference/token_filters.rst 2014-10-26 10:59:57 +0900 (1bb6f63) +++ doc/source/reference/token_filters.rst 2014-10-26 11:00:13 +0900 (32a79f6) @@ -69,6 +69,11 @@ Here is an example that uses ``TokenFilterStopWord`` token filter: .. ] .. select Memos --match_columns content --query "Hello and" +``and`` token is marked as stop word in ``Terms`` table. + +``"Hello"`` that doesn't have ``and`` in content is matched. Because +``and`` is a stop word and ``and`` is removed from query. + ``TokenFilterStem`` ^^^^^^^^^^^^^^^^^^^ @@ -92,6 +97,10 @@ Here is an example that uses ``TokenFilterStem`` token filter: .. ] .. select Memos --match_columns content --query "develops" +All of ``develop``, ``developing``, ``developed`` and ``develops`` +tokens are stemmed as ``develop``. So we can find ``develop``, +``developing`` and ``developed`` by ``develops`` query. + See also -------- -------------- next part -------------- HTML����������������������������...Download