Skip to content

Find-Item : Add support for Filter #1176

@michaellwest

Description

@michaellwest

If you recall, search engines such as Solr and Azure support both Where and Filter conditions. This request is to add support for Filter.

Would like to be able to filter like the following:

$props = @{
    Index = "sitecore_master_index"
    Where = 'Paths.Contains(@0)'
    WhereValues = [ID]::Parse("{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}")
    Filter = 'Language = @0'
    FilterValues = "en-CA"
}

Find-Item @props

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions