Smalyshev has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/298037

Change subject: Improve comments for flags.
......................................................................

Improve comments for flags.

Change-Id: Ie8c1f2b0df77660d8472f410d0d38f5b4ba894c4
---
M includes/search/SearchIndexField.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/37/298037/1

diff --git a/includes/search/SearchIndexField.php 
b/includes/search/SearchIndexField.php
index 2ea255f..c4e96db 100644
--- a/includes/search/SearchIndexField.php
+++ b/includes/search/SearchIndexField.php
@@ -22,7 +22,7 @@
         */
        const FLAG_CASEFOLD = 1;
        /**
-        * This field is for scoring only.
+        * This field is for scoring only, not for matching.
         */
        const FLAG_SCORING = 2;
        /**
@@ -30,7 +30,7 @@
         */
        const FLAG_NO_HIGHLIGHT = 4;
        /**
-        * Do not index this field.
+        * Do not index this field, just store it.
         */
        const FLAG_NO_INDEX = 8;
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/298037
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8c1f2b0df77660d8472f410d0d38f5b4ba894c4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to