Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 287 karma points
    Feb 19, 2016 @ 10:01
    Damon
    0

    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!

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Feb 19, 2016 @ 11:00
    Alex Skrypnyk
    0

    IndexType.Content its all nodes under tab Content. If you want to search in Media or Members you have to specify another IndexType.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft