Copied to clipboard

Flag this post as spam?

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


  • Rayyan 46 posts 238 karma points
    Jul 14, 2017 @ 19:03
    Rayyan
    0

    Filtered Search multiple DocTyps

    Hello, I have this indexer for one document type, I have tried to add another docType with the same properties alias but didn't succeed, any idea?

    Thank you

    <IndexSet SetName="PlaceIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Place">
        <!--the standard properties-->
        <IndexAttributeFields>
          <add Name="id" />
          <add Name="nodeName" />
          <add Name="updateDate" />
          <add Name="writerName" />
          <add Name="path" />
          <add Name="nodeTypeAlias" />
          <add Name="parentID" />
        </IndexAttributeFields>
        <!--the document type properties we created - use exact alias-->
        <IndexUserFields>
          <add Name="placeName"/>
          <add Name="placeAddress"/>
        </IndexUserFields>
        <!--confine to nodes of document type Alpha-->
        <IncludeNodeTypes>
          <add Name="place"/>
        </IncludeNodeTypes>
      </IndexSet>
    
  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jul 16, 2017 @ 15:26
    Marc Goodson
    100

    Hi Rayyan

    So in the above config have you added your additional document type:

    <IncludeNodeTypes>
      <add Name="place"/>
      <add Name="additionalDocTypeAlias"/>
    </IncludeNodeTypes>
    

    after changing the config, you'll need to rebuild your indexes to see the changes take effect.

    regards

    Marc

  • Rayyan 46 posts 238 karma points
    Jul 16, 2017 @ 16:17
    Rayyan
    0

    So the rebuild was the issue! Thank you very much!

Please Sign in or register to post replies

Write your reply to:

Draft