This commit is contained in:
2018-09-18 23:31:45 +00:00
parent 3824467c8c
commit 5c94811ac6

View File

@@ -141,26 +141,19 @@ namespace AyaNova.Biz
{
//Get stopwords and CJKIndex flag value
LocaleSearchData LSD = GetLocaleSearchData(localeId);
//bool CJK = GlobalSettings.CJKIndex;
int MAXWORDLENGTH = 255;
StringBuilder sbResults = new StringBuilder();
//List to temporarily hold parsed words
//used to easily ensure unique words only
List<string> tempParsedWords = new List<string>();
//Stuff required for creating xml fragment on the fly in memory (string)
StringBuilder sb = new StringBuilder();
StringBuilder sbWord = new StringBuilder();
System.IO.StringWriter sr = new System.IO.StringWriter(sb);
System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(sr);
// System.IO.StringWriter sr = new System.IO.StringWriter(sb);
// System.Xml.XmlTextWriter w = new System.Xml.XmlTextWriter(sr);
w.Formatting = System.Xml.Formatting.Indented;
w.WriteStartElement("Items");
// w.Formatting = System.Xml.Formatting.Indented;
// w.WriteStartElement("Items");
//Loop through each of the passed in strings