diff --git a/FullTextSearchQuery/FtsQuery.cs b/FullTextSearchQuery/FtsQuery.cs
index 82f3998..9416cc9 100644
--- a/FullTextSearchQuery/FtsQuery.cs
+++ b/FullTextSearchQuery/FtsQuery.cs
@@ -62,13 +62,16 @@ public class FtsQuery
///
/// Constructs an instance.
///
- /// If true, the standard stopwords
+ /// If true, the standard list of stopwords
/// are added to the stopword list.
public FtsQuery(bool addStandardStopWords = false)
{
StopWords = new HashSet(StringComparer.OrdinalIgnoreCase);
if (addStandardStopWords)
- StopWords.CopyTo(StandardStopWords.StopWords);
+ {
+ foreach (string stopword in StandardStopWords.StopWords)
+ StopWords.Add(stopword);
+ }
}
///
diff --git a/FullTextSearchQuery/FullTextSearchQuery.csproj b/FullTextSearchQuery/FullTextSearchQuery.csproj
index 0c4af2c..827a787 100644
--- a/FullTextSearchQuery/FullTextSearchQuery.csproj
+++ b/FullTextSearchQuery/FullTextSearchQuery.csproj
@@ -10,13 +10,13 @@
Copyright © 2019-2020 SoftCircuits
License.txt
full-text-search full-text full text search query fulltext sql-server
- 1.0.2; Reworked documentation; Additional testing and code review; Minor tweaks; Added package icon.
+ Fixed issue where FtsQuery constructor argument did not add the standard stop words.
en-US
git
- Full Text Search Query is a .NET class library that converts a user-friendly search term into a valid Microsoft SQL Server full-text-search query. The code attempts to gracefully handle all syntax that would cause SQL Server to generate an error.
+ Full Text Search Query is a .NET class library that converts a user-friendly search term into a valid Microsoft SQL Server full-text-search query. The code attempts to gracefully handle all syntax cases that would cause SQL Server to generate an error.
https://github.com/SoftCircuits/FullTextSearchQuery
https://github.com/SoftCircuits/FullTextSearchQuery
- 1.0.2
+ 1.1.0
Logo_64x64.png
diff --git a/Logo_64x64.png b/Logo_64x64.png
index 90ef39f..9f8bc3e 100644
Binary files a/Logo_64x64.png and b/Logo_64x64.png differ