Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To do this you need to write your own analyzer class. This is relatively straightforward. Here is the one that I am using. It combines stop word filtering. Porter stemming and (this may be too much for your needs) stripping of accents from characters.</p> <pre><code>/// &lt;summary&gt; /// An analyzer that implements a number of filters. Including porter stemming, /// Diacritic stripping, and stop word filtering. /// &lt;/summary&gt; public class CustomAnalyzer : Analyzer { /// &lt;summary&gt; /// A rather short list of stop words that is fine for basic search use. /// &lt;/summary&gt; private static readonly string[] stopWords = new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "000", "$", "£", "about", "after", "all", "also", "an", "and", "another", "any", "are", "as", "at", "be", "because", "been", "before", "being", "between", "both", "but", "by", "came", "can", "come", "could", "did", "do", "does", "each", "else", "for", "from", "get", "got", "has", "had", "he", "have", "her", "here", "him", "himself", "his", "how","if", "in", "into", "is", "it", "its", "just", "like", "make", "many", "me", "might", "more", "most", "much", "must", "my", "never", "now", "of", "on", "only", "or", "other", "our", "out", "over", "re", "said", "same", "see", "should", "since", "so", "some", "still", "such", "take", "than", "that", "the", "their", "them", "then", "there", "these", "they", "this", "those", "through", "to", "too", "under", "up", "use", "very", "want", "was", "way", "we", "well", "were", "what", "when", "where", "which", "while", "who", "will", "with", "would", "you", "your", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; private Hashtable stopTable; /// &lt;summary&gt; /// Creates an analyzer with the default stop word list. /// &lt;/summary&gt; public CustomAnalyzer() : this(stopWords) {} /// &lt;summary&gt; /// Creates an analyzer with the passed in stop words list. /// &lt;/summary&gt; public CustomAnalyzer(string[] stopWords) { stopTable = StopFilter.MakeStopSet(stopWords); } public override TokenStream TokenStream(string fieldName, System.IO.TextReader reader) { return new PorterStemFilter(new ISOLatin1AccentFilter(new StopFilter(new LowerCaseTokenizer(reader), stopWords))); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload