Пример #1
0
 public FullTextWhereFragment(DocumentMapping mapping, FullTextSearchFunction searchFunction, string searchTerm, string regConfig = FullTextIndex.DefaultRegConfig)
 {
     _regConfig      = regConfig;
     _dataConfig     = GetDataConfig(mapping, regConfig);
     _searchFunction = searchFunction;
     _searchTerm     = searchTerm;
 }
Пример #2
0
        public FullTextWhereFragment(DocumentMapping mapping, FullTextSearchFunction searchFunction, string searchTerm, string regConfig = FullTextIndex.DefaultRegConfig)
        {
            _regConfig = regConfig;

            // TODO -- try to delete the damn d. prefix.
            _dataConfig     = GetDataConfig(mapping, regConfig).Replace("data", "d.data");
            _searchFunction = searchFunction;
            _searchTerm     = searchTerm;
        }
Пример #3
0
 protected FullTextSearchMethodCallParser(string methodName, FullTextSearchFunction searchFunction)
 {
     this.methodName     = methodName;
     this.searchFunction = searchFunction;
 }