Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background / Summary

tbd 

Hypothetical Searches

Here are a collection of use cases that we need to support in our advanced search replacement

Simple filtering spanning several fields

In english: "All Documents submitted by Frank McManamon with "southwest" in the title.

In lucene: 

Code Block
resourceType:DOCUMENT userid:123 title:southwest

 

Filtering using repeated field

In english:  "All resources that must have both  'southwest' and 'tribe' in the title"  or "All resource that have either 'southwest' or 'tribe' in the title"

In lucene:

Code Block
+title:southwest +title:tribe
Code Block
title:southwest title:tribe

 

Filtering incorporating AND and OR operators:

In English:  "Documents submitted by Josh or Scott  that have material keywords "shell" or "metal"

Code Block
+(
   (activeMaterialKeywords.label:shell informationResources.activeMaterialKeywords.label:shell) 
   (activeMaterialKeywords.label:metal informationResources.activeMaterialKeywords.label:metal)
) 
+resouceType:DOCUMENT 
+(submitterId:123 submitterId:345)

 

User Interface Changes

tbd

...