Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PhdBase III manual?
Message
From
13/04/2018 10:56:16
 
 
To
12/04/2018 12:53:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01659325
Message ID:
01659388
Views:
55
Interesting! I also used phdbase because it gave me matches on "phonetic" like searches (which I could not get to work "well" in straight VFP). In that way, did not have to match a word exactly.

>>Wow, did not know that! Any idea what size? This client is not dealing with large tables but I would like to know that and take a look if they are anywhere close to the problem size.
>
>Twelve years ago I had to have a search in a series of long texts, and what search was available was slow. Since the whole database with the texts (legal ones, that is) was distributed with the app, it made sense to index everything in advance. So I built a manual index - I had a table of words and word occurrences. The words table had only a pk, the word itself and the word length; the occurrences table had a fk to the word and fk to the text, the position of the word in the text and some numeric score based on text's length, word's length and its position. These were updated whenever a text was saved, or in an initial batch run, when I'd fill those two tables from scratch.
>
>The search would then find the PKs of the words sought, then would pull the PKs of the texts based on these words' occurrences, and sort the results according to accumulated score. It was blazingly fast, even on simple dbfs. I was surprised myself, didn't expect that Rushmore could achieve that speed.
Previous
Reply
Map
View

Click here to load this message in the networking platform