Question on how Examine determines how it defines (IndexTypes.Content) ?
Hi,
I am trying to return all items of a given field from Examine index reguardless of whether or not there is a value in it (I want to perform some logic on it)
I am using this:
var searcher = ExamineManager.Instance.SearchProviderCollection[examineSearcher];
var searchCriteria = searcher.CreateSearchCriteria(IndexTypes.Content);
var results = searcher.Search(searchCriteria.SearchIndexType, true);
However, I am only getting a small subset of results. My question is how does Examine decide what is classed as IndexTypes.Content? Does it use some criteria to determine what is Content? How can I get all results wether populated or not?
Question on how Examine determines how it defines (IndexTypes.Content) ?
Hi,
I am trying to return all items of a given field from Examine index reguardless of whether or not there is a value in it (I want to perform some logic on it)
I am using this: var searcher = ExamineManager.Instance.SearchProviderCollection[examineSearcher]; var searchCriteria = searcher.CreateSearchCriteria(IndexTypes.Content);
var results = searcher.Search(searchCriteria.SearchIndexType, true);
However, I am only getting a small subset of results. My question is how does Examine decide what is classed as IndexTypes.Content? Does it use some criteria to determine what is Content? How can I get all results wether populated or not?
Thanks a lot!
IndexType.Content its all nodes under tab Content. If you want to search in Media or Members you have to specify another IndexType.
Thanks
is working on a reply...