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 2022/03/08 09:59:55 UTC

[lucenenet] branch docs/4.8.0-beta00016 updated (1223691 -> a932d69)

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a change to branch docs/4.8.0-beta00016
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.


    from 1223691  Update migration-guide.md
     new 42d39dd  Update StandardQueryParser.cs
     new a932d69  Update StandardQueryParser doc string

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../Flexible/Standard/StandardQueryParser.cs                      | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

[lucenenet] 02/02: Update StandardQueryParser doc string

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch docs/4.8.0-beta00016
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit a932d69fcb6ab8b3527e151afdf3bc397c943324
Author: Andre R <ra...@users.noreply.github.com>
AuthorDate: Tue Mar 8 07:46:02 2022 +0100

    Update StandardQueryParser doc string
---
 src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
index 0afbac8..28a37ed 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
@@ -45,9 +45,10 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard
     /// <para/>
     /// To change any configuration before parsing the query string do, for example:
     /// <code>
-    /// // the query config handler returned by StandardQueryParser is a
-    /// // StandardQueryConfigHandler
     /// queryParserHelper.Analyzer = new WhitespaceAnalyzer();
+    /// queryParserHelper.AllowLeadingWildcard = true;
+    /// // Or alternativley use the query config handler returned by StandardQueryParser which is a
+    /// // StandardQueryConfigHandler:
     /// queryParserHelper.QueryConfigHandler.Set(ConfigurationKeys.ALLOW_LEADING_WILDCARD, true);
     /// </code>
     /// <para/>

[lucenenet] 01/02: Update StandardQueryParser.cs

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch docs/4.8.0-beta00016
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 42d39dd14c233892e03e57a82ab6c2e5deb56e11
Author: Andre R <ra...@users.noreply.github.com>
AuthorDate: Mon Mar 7 09:05:07 2022 +0100

    Update StandardQueryParser.cs
---
 src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
index d70bbfb..0afbac8 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
@@ -47,7 +47,8 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard
     /// <code>
     /// // the query config handler returned by StandardQueryParser is a
     /// // StandardQueryConfigHandler
-    /// queryParserHelper.QueryConfigHandler.Analyzer = new WhitespaceAnalyzer();
+    /// queryParserHelper.Analyzer = new WhitespaceAnalyzer();
+    /// queryParserHelper.QueryConfigHandler.Set(ConfigurationKeys.ALLOW_LEADING_WILDCARD, true);
     /// </code>
     /// <para/>
     /// The syntax for query strings is as follows (copied from the old QueryParser