Copied to clipboard

Flag this post as spam?

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

  • Jesp3r 4 posts 24 karma points
    Nov 17, 2014 @ 13:32

    Examine: Multiple searchPath's?

    I need to limit my Lucene/Examine search to two searchPaths (rootNodes from multi site solution). So i need to search two sites out of 10 for instance.

    But how do i config my query to accomplish this? I tried a variaty of things, but none have worked.

    This is what i have now;

    -umbracoNaviHide:1 +((__IndexType:content +searchPath:1056 -template:0) +(body:test*) body:test*^1

    This works fine, but only searches from one root node.

    I tried the following, with no success;

    +searchPath:1056 +searchPath:1441
    +searchPath:1056 1441

    Any ideas?

  • Sotiris Filippidis 267 posts 1368 karma points
    Apr 30, 2020 @ 20:05
    Sotiris Filippidis

    Wow, a question from 2014 the topic of which troubled me in 2020! I'm facing the same problem - I want to either include multiple searchPaths or exclude multiple searchPaths, but it doesn't seem to be working at all. I'm constructing a raw query and done all the OP has done. Any hints?

Please Sign in or register to post replies

Write your reply to: