Skip to content

Commit

Permalink
Exclude documents without title
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Aug 5, 2024
1 parent 4ca1f6c commit c5b2cf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/defaults/directoryViews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@
filters:
- field: class
value: Document
- field: title
value: '*'
opKey: EXPRESSION
boosts: []
sort:
- field: title_sort
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/defaults/discoveryViews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@
- field: class
value: Document OR type:creativeWork
opKey: EXPRESSION
- field: title
value: '*'
opKey: EXPRESSION
boosts:
- field: title
value: 2
Expand Down

0 comments on commit c5b2cf5

Please sign in to comment.