How to set up 'negative' or 'exclusion' limit?
- Product: Voyager
- Product Version: 9
Question
Default limits include a particular type of record (e.g., ONLY videos). How can a "negative" or "exclusion" limit be configured (e.g., exclude videos) for Basic Search?
Answer
- On the server, cd /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/{your_skin}
- vi webvoyage.properties
- Find "Limit To"
- Add a new multiple limit (see example in Additional Information). Include all options for limit except the one to be exluded.
- Save changes.
Additional Information
Example: include all medium/format types except "videorecording"
page.search.limitTo.NoVideo= page.search.limitTo.NoVideo.limit=MEDI=a|MEDI=c|MEDI=d|MEDI=g|MEDI=h|MEDI=k|MEDI=m|MEDI=s|MEDI=t page.search.limitTo.NoVideo.order=4 page.search.limitTo.NoVideo.text=No videos
Note all 'medium' limits defined in {your_skin}/xsl/limits.xml are included except MEDI=v (Videorecording)
- Article last edited: 11-Jun-2014