Author Topic: Data Driven not working as expected.  (Read 889 times)

Aubrey

  • Super Hero
  • ****
  • Posts: 1327
  • IMatch user since June 2008
Data Driven not working as expected.
« on: January 02, 2017, 04:33:13 PM »
I have set up data driven categories based on file name (list1.jpg)

towards the bottom the following can be seen:
E:\processed images\2016\1607 Jul\Hash\2758\pub
...
E:\processed images\2016\1608 Aug\Hash\2763\pub
...

E:\processed images\2016\1609 Sep\Hash\2764\pub
...
E:\processed images\2016\1609 Sep\Hash\2765\pub

I refine with category filter "pub" (list2.jpg)
Observations:
The following folders are missing:
E:\processed images\2016\1608 Aug\Hash\2763\pub
E:\processed images\2016\1609 Sep\Hash\2764\pub
E:\processed images\2016\1609 Sep\Hash\2765\pub

and subsequent values of folders ending in pub.

Furthermore:
Folders which do not have "pub" are still appearing...

Am I doing something wrong?
Is there a limit on the number of elements that are filtered?

Aubrey.



Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 30500
Re: Data Driven not working as expected.
« Reply #1 on: January 02, 2017, 04:41:34 PM »
Did you run a database diagnosis as instructed in the release notes?
This may be a side-effect of the custom metadata missing (see release notes).


Your pub filter cannot work. This filter allows you to restrict to your data-driven category to consider only files matching the regular expression specified there. This will not necessarily filter out folder names. And, since you are building your data-driven category, and it produces "pub" elements, you cannot filter than way.

Aubrey

  • Super Hero
  • ****
  • Posts: 1327
  • IMatch user since June 2008
Re: Data Driven not working as expected.
« Reply #2 on: January 03, 2017, 11:18:43 AM »
Did you run a database diagnosis as instructed in the release notes?
This may be a side-effect of the custom metadata missing (see release notes).

Yes I did.

Your pub filter cannot work. This filter allows you to restrict to your data-driven category to consider only files matching the regular expression specified there. This will not necessarily filter out folder names. And, since you are building your data-driven category, and it produces "pub" elements, you cannot filter than way.

OK, I need to rethink how I can filter only folders with name 'pub'. I'll reread documentation and set up a small test database.

Aubrey.