You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/02/01 05:19:10 UTC
[11/15] lucenenet git commit:
Lucene.Net.QueryParser.Surround.Query.FieldsQuery refactor: OrOperatorName
(field) > orOperatorName
Lucene.Net.QueryParser.Surround.Query.FieldsQuery refactor: OrOperatorName (field) > orOperatorName
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/ad3db5a5
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/ad3db5a5
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/ad3db5a5
Branch: refs/heads/api-work
Commit: ad3db5a5977148dde7e6278be6549c5f3ef6caa7
Parents: b170b54
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Feb 1 10:33:19 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Feb 1 10:33:19 2017 +0700
----------------------------------------------------------------------
src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ad3db5a5/src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs b/src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs
index df2c6e7..c6c648c 100644
--- a/src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Query/FieldsQuery.cs
@@ -29,7 +29,7 @@ namespace Lucene.Net.QueryParsers.Surround.Query
private SrndQuery q;
private IEnumerable<string> fieldNames;
private readonly char fieldOp;
- private readonly string OrOperatorName = "OR"; /* for expanded queries, not normally visible */
+ private readonly string orOperatorName = "OR"; /* for expanded queries, not normally visible */
public FieldsQuery(SrndQuery q, IEnumerable<string> fieldNames, char fieldOp)
{
@@ -68,7 +68,7 @@ namespace Lucene.Net.QueryParsers.Surround.Query
}
OrQuery oq = new OrQuery(queries,
true /* infix OR for field names */,
- OrOperatorName);
+ orOperatorName);
// System.out.println(getClass().toString() + ", fields expanded: " + oq.toString()); /* needs testing */
return oq.MakeLuceneQueryField(null, qf);
}