NEW BUILD V4RB, example IndexByWordsWithStyle added

Erik Mueller-Harder valentina-list at vermontsoftworks.com
Mon Oct 4 16:43:37 CDT 2004


This sounds great, Ruslan!

I'm not successfully able to test this, however.  I've downloaded all 
three files, replaced the existing VComponents folder with the new one, 
placed the contents of VEngine into the new VComponents folder, and put 
the V4RB plugin into the REALBasic plug-ins folder.

Most things appear to work fine, but searching for short words and for 
the words "cool" and "trust" was *successful* in the 
"IndexByWordsWithStyle" example.  I checked the code in your example, 
and it indeed "cool" and "trust" are added as ignoreWords, and the 
ignoreLength is set to 3.

So, of course, I deleted the databases, set a breakpoint at the line 
where CreateIndexStyle is set, and ran the project.  The program quits 
when I step through this line.

I tried downloading everything again and re-installing it cleanly.  I 
also checked to make sure that I didn't have a conflicting VComponents 
folder in my own user library (I didn't).  Tried again, with the same 
exact results.  The log file gets this far:

	Database_CreateIndexStyle...
		PARAM: inDatabase = 26206036
		PARAM: inStyleName = "en_style1"
	return object = 3150256

The asserts file is empty.

Let me know if there's anything else you'd like me to try.

Thanks,

-- Erik


On Oct 4, 2004, at 12:12, Ruslan Zasukhin wrote:

> Hi All,
>
> This new build demonstrates the work of new feature IndexStyle.
>
> * you can set IgnoreLength
> * you can set IgnoreWords
>
> In example you can see that ignored words are "cool trust".
> And IgnoreLength is 3
>
> So you can see that words with length <= 3 are not found now by search,
> And words "cool" and "trust" also are not found.
>
>
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta
>



More information about the Valentina-beta mailing list