Thesaurus Filter: not showing full list of thesaurus items?

Started by Jingo, November 30, 2017, 10:06:09 PM

Previous topic - Next topic

Jingo

Hmm.. while investigating DigiPeters latest keyword issue, I think I ran across an issue of my own...  If I start typing a keyword in the keyword edit box, I get my list of keywords as expected.  If I navigate using the Hierarchical, thesaurus, I see the same entries... all good.  However, if I type a partial keyword into the Thesaurus Filter (ie: disney), only a partial list is displayed.  If I add a few additional letters (ie: disneyw), then I get the full list shown in the hierarchical display.  Is this by design?  Thx.

Mario

Give me an example of what you type, what you see and what you have in your thesaurus.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Sorry... here is one example (I blacked out the Recent list - but the recent list does populate):

In Keyword edit, I start by typing: disneyw - as you can see, the keywords lists correctly and my hierarchical thesaurus displays correctly:



When I delete the edit and move to the Thesaurus Filter, I type: disney and get the following (only a partial listing):



Finally, when I add one more letter to the filter: disneyw - I get the full list again:



Is there some other logic going on behind the scenes to match the entries?  Thx Mario.... Andy.


Mario

I've re-created some of your thesaurus entries and this is what I see:



a: using the auto-complte list for keywords and b) searching for Disney in the thesaurus. This looks OK to me.

As I said, I would need your thesaurus to test this here in-depth.
You can export the thesaurus to a text file from the Thesaurus Manager. ZIPped it becomes very small. You can send it to my support email.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Hi Mario - I will send along the zipped thesaurus shortly.  thx...

Jingo

Hi Mario - file sent to your support email address.. hopefully this helps.   Thx - Andy.

Mario

Yes, I have received it. There are only about 30 emails 'on-top' left before I can get to your email  ;)
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

OK, that's a tricky case.

The search currently searches each level individually. When a matching level name is found, it stops.
Since you type in Disney, you get the 3 matches shown in your screen shot. You don't get all the child elements of the elements found.

When you type disneyw, IMatch finds the element DisneyWorld. And since this is the only match, IMatch does not display a result window but instead just jumps to and highlights the match. This is why you see all sub-elements etc.

I could change this behavior and include all sub-elements of the found element in the result. But that would probably clutter the list a lot and the result would be the same you get when you just type the same word into the "Add new keyword..." input field. The auto-complete list always shows all matches, using a full path approach.

The search function for the thesaurus panel is more subtle, looking at each level. This allows you a bottom-up approach in the search...

I see a use for both, but I don't want to add an option, switch or toggle. Not sure...
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Cool.. thx Mario... whatever you decide is just fine.. I only noticed the behavior because I was playing around with the the thesaurus for the first time in a long time...  Thx again! - Andy.