trevisthomas wrote:
My DB is already built and indexed. I had assumed that objectToString on my brige would be called when i execute a search but i'm starting to wonder if this not how this works. Can someone familiar with this tell me, when is that method called? Do i have to manually rebuild or update the index before i can filter on the bridge value?
You are really on the right track here. objectToString is only called in indexing time. Think about it, if you already have an existing index, but you add another searchable field or in your case a class bridge, you will have to update the index. It's just not there yet. So yes, you have to reindex.
trevisthomas wrote:
If so, is a call to session.index the solution? (I'm away from my dev environment at the moment and cant test this at the moment.)
Yes, that's the way to do it.
Have a look at the class bridge and especially the manual indexing section of the online manual. When indexing manually there are a few memory related things to consider. The online documentation covers that quite well.
--Hardy