Is there a way to filter results by path with Apache Solr?

For instance, we would like have a filter that limits results to "/my-path-here".

It would only return results that have a path that begins with that.

  • /my-path-here/one
  • /my-path-here/nested/link
  • /my-other-path/should-not-show-in-results
  • Is this really about Drupal? Would your question be any different if pathes were generated and sent to Solr by any other web app?
    – Mołot
    Apr 22, 2015 at 17:37
  • Yes were using Drupal to integrate with it so any answer would hopefully be within the context of Drupal. Apr 22, 2015 at 17:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.