You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ad...@apache.org on 2016/11/14 10:53:33 UTC

[4/7] james-project git commit: JAMES-1842: Change searching for subject because 'the' is a stop word

JAMES-1842: Change searching for subject because 'the' is a stop word

Stops words are ignored by ElasticSearch as they convey no context knownledge


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/94249b40
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/94249b40
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/94249b40

Branch: refs/heads/master
Commit: 94249b4097ac48da0f84f69795ce73dc94ee254d
Parents: a4c4175
Author: Quynh Nguyen <qn...@linagora.com>
Authored: Wed Nov 9 14:11:33 2016 +0700
Committer: Benoit Tellier <bt...@linagora.com>
Committed: Wed Nov 9 16:10:50 2016 +0700

----------------------------------------------------------------------
 .../org/apache/james/imap/scripts/UidSearchAtomsIndexer.test     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/94249b40/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtomsIndexer.test
----------------------------------------------------------------------
diff --git a/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtomsIndexer.test b/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtomsIndexer.test
index aecc249..ce9f6f7 100644
--- a/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtomsIndexer.test
+++ b/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/UidSearchAtomsIndexer.test
@@ -2233,8 +2233,8 @@ C: A127 UID SEARCH SMALLER 20000
 S: \* SEARCH 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
 S: A127 OK SEARCH completed\.
 
-C: A128 UID SEARCH SUBJECT the
-S: \* SEARCH
+C: A128 UID SEARCH SUBJECT "hello"
+S: \* SEARCH 26 27
 S: A128 OK SEARCH completed\.
 
 C: A129 UID SEARCH SUBJECT "William Shakespeare"


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org