Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread TextFilter
Sat, Feb 3 2007 10:48 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

Unless I'm mistaken there's no way to link a specific TextFilter to a specific full text index apart from the FilterType column. What happens if two modules are linked both with a TextFilter?

Roy Lambert
Mon, Feb 5 2007 9:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Unless I'm mistaken there's no way to link a specific TextFilter to a
specific full text index apart from the FilterType column. What happens if
two modules are linked both with a TextFilter? >>

I'm not quite sure what you mean by the question - could you elaborate ?
The answer to the first statement is yes, you are correct.  The FilterType
column links a given column's values for a text index to zero or more text
filters, depending upon the column values, of course.  When you create the
text filter, you give it a filter type to use.  If you define two text
filters with the same filter type, then currently only the first will be
used and the second will simply be ignored.  However, I could make it so
that it throws a duplicate exception in such a case.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Feb 6 2007 5:27 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< Unless I'm mistaken there's no way to link a specific TextFilter to a
>specific full text index apart from the FilterType column. What happens if
>two modules are linked both with a TextFilter? >>
>
>I'm not quite sure what you mean by the question - could you elaborate ?
>The answer to the first statement is yes, you are correct. The FilterType
>column links a given column's values for a text index to zero or more text
>filters, depending upon the column values, of course. When you create the
>text filter, you give it a filter type to use. If you define two text
>filters with the same filter type, then currently only the first will be
>used and the second will simply be ignored. However, I could make it so
>that it throws a duplicate exception in such a case.

I think you've managed to identify the correct question from my garble. It was prompted when I was creating a full text index. You're asked for a Filter Type Column and a Word Generator.

Unless I'm guessing wrongly this means you can have lots of wordgenerators but only one textfilter (with the actions being controlled by a column).

Since these are help in DLLs I could see different text filters being created in different dlls and both of them being loaded, maybe not in an application, but certainly in EDBMan and causing minor chaos.

Roy Lambert
Tue, Feb 6 2007 6:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I think you've managed to identify the correct question from my garble.
It was prompted when I was creating a full text index. You're asked for a
Filter Type Column and a Word Generator. >>

Yes, but the Filter Type Column is completely optional.

<< Unless I'm guessing wrongly this means you can have lots of
wordgenerators but only one textfilter (with the actions being controlled by
a column). >>

No, you can only have one column designated as the filter type column.  You
could literally have thousands of actual text filters, one for every binary
file format known to man. Smiley

<< Since these are help in DLLs I could see different text filters being
created in different dlls and both of them being loaded, maybe not in an
application, but certainly in EDBMan and causing minor chaos. >>

I'll be putting a duplicate check in there on the filter type so that you
can't have two text filters with the same filter type designation.  That
will prevent any confusion.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image