I'm working on a "photo gallery" portlet that allows the user to search through images on the site.
Not all images should be available to the photo gallery, however; some are classified as utility images (such as backgrounds, caps, headers/banners, etc.).
The easy solution to this problem would be to create a separate folder in the image gallery that contains "non-photo gallery" images. However, there are also a few "one-offs" (the images qualify as content, but the content strategy team don't want them to appear in the photo gallery).
As an alternative approach, I used an expando value named "photo gallery", which contains either "true" or "false".
Using the information in
this article I was able to find a way to filter images in the image gallery based on this expando value, but I am at a loss as to how to integrate this filter into a Lucene search.
What do I need to do to get this to work?
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.