Exemplo n.º 1
0
 public IEnumerable <string> GetEntryComponents(string path, int index)
 {
     return(SearchUtils.SplitFileEntryComponents(path, entrySeparators));
 }
 /// <summary>
 /// Splits a string into multiple words that will be indexed.
 /// It works with paths and UpperCamelCase strings.
 /// </summary>
 /// <param name="entry">The string to be split.</param>
 /// <param name="documentIndex">The document index that will index that entry.</param>
 /// <returns>The entry components.</returns>
 protected virtual IEnumerable <string> GetEntryComponents(string entry, int documentIndex)
 {
     return(SearchUtils.SplitFileEntryComponents(entry, SearchUtils.entrySeparators));
 }