Example #1
0
        public SearchCollectionResult SearchIndex(string QueryString, bool PreProcess)
        {
            Query Query = _IQueryParser.ProcessQuery(QueryString, PreProcess);

            _RankedSEDocuments.Clear();

            SearchCollectionResult SearchCollectionResult = _ILuceneHelper.SearchCollection(Query);

            SearchCollectionResult.ProcessedQuery = Query.ToString();
            _RankedSEDocuments.AddRange(SearchCollectionResult.RankedResults);

            return(SearchCollectionResult);
        }