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 288 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 6182 posts 24284 karma points MVP 9x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies