I have a scenario where I want to search the metadata on folders only and in the results see only folders, not entries. For some reason, it works in our Test reposiotory, but not our Production repository. Both repos are hosted on the same server, so I know it's not a version issue. We're up-to-date on the latest release of Laserfiche 11. Search syntax looks like this:
{[Journal Entry]:[Post Date]>="2022-08-01", <="2022-08-31"} & {LF:Name="*", Type="F"} & {LF:LOOKIN="Rio-Test\Finance\Journal Entries\Non Posted", SUBFOLDERS=0}
The metatdata template name is "Journal Entry". There a date field called "Post Date", and we want to find all folders for journal entries that should be posted in August. Inside the "\Finance\Jounal Entries\Non Posted" folder will be a collection of folders that have various entries inside them, and the folders themselves will have the Journal Entry template assigned and a date in the Post Date field.
This search is actually done in a Workflow, and it didn't work when we moved from Test to Prod. I tried it out in the Laserfiche desktop client and see the same behavior: works in Test, not in Prod. I'm re-indexing the production repository now to see if that fixes it but I don't have high hopes. Does anyone know of anything else that can be set at the repository level that would make this behavior different between two repos on the same server?