Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 5 of 5 total |
deduping, shareman & textfilters / wordgenerators |
Sun, Dec 2 2007 5:26 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
1. Should we be adding sharemem to the dll template? 2. If I call a textfilter should I dedup the word list in there or is it more efficient/effective to leave it? I can't see anyway of doing it in a wordgenerator so I'm assuming that you do it at some later point. Roy Lambert |
Mon, Dec 3 2007 8:30 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< 1. Should we be adding sharemem to the dll template? >> Only if you wish to do so. The DLLs are such that they don't pass any long strings, etc. that need it, so it is strictly up to you. << 2. If I call a textfilter should I dedup the word list in there or is it more efficient/effective to leave it? I can't see anyway of doing it in a wordgenerator so I'm assuming that you do it at some later point. >> Just leave them in there, EDB will take care of the dups based upon the proper collation rules, etc. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Dec 4 2007 3:34 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
><< 1. Should we be adding sharemem to the dll template? >> > >Only if you wish to do so. The DLLs are such that they don't pass any long >strings, etc. that need it, so it is strictly up to you. duh - TextToFilter, FilteredText? ><< 2. If I call a textfilter should I dedup the word list in there or is it >more efficient/effective to leave it? I can't see anyway of doing it in a >wordgenerator so I'm assuming that you do it at some later point. >> > >Just leave them in there, EDB will take care of the dups based upon the >proper collation rules, etc. I know EDB will take care of them, I don't know how, so I wondered if it would be more faster if I did it in the textfilter where I'm having to handle all the characters (and by implication words) anyway? Roy Lambert |
Tue, Dec 4 2007 5:03 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< duh - TextToFilter, FilteredText? >> These are the actual DLL function signatures: function ValidateEDBModule(ModuleType: Integer): Boolean; stdcall; function OpenEDBModule(var ModuleHandle: Integer): Boolean; stdcall; function CallEDBWordGenerator(ModuleHandle: Integer; Collation: Integer; TextData: pEDBChar; TextLength: Integer; WordData: pEDBChar; WordLength: Integer; var ResultWordLength: Integer; var Position: Integer; SearchWords: Boolean): Boolean; stdcall; function GetEDBModuleErrorMsg(ModuleHandle: Integer; ErrorMsg: pEDBChar; var ErrorMsgLength: Integer): Boolean; stdcall; function CloseEDBModule(ModuleHandle: Integer): Boolean; stdcall; EDB does a lot of prettying up of the calls for you into a nice custom module for Delphi that you use with the event handlers, etc. << I know EDB will take care of them, I don't know how, so I wondered if it would be more faster if I did it in the textfilter where I'm having to handle all the characters (and by implication words) anyway? >> EDB uses a sorted word list with a binary search for finding/inserting the words to be indexed, so it's pretty fast. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Dec 5 2007 4:30 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
Ahhhh he says as the little light bulb comes on Roy Lambert |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |