Click here to Skip to main content
16,005,241 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: full text search code Pin
Jonathan de Halleux10-Aug-03 4:23
Jonathan de Halleux10-Aug-03 4:23 
GeneralRe: full text search code Pin
Jörgen Sigvardsson10-Aug-03 0:14
Jörgen Sigvardsson10-Aug-03 0:14 
GeneralRe: full text search code Pin
Neville Franks10-Aug-03 0:36
Neville Franks10-Aug-03 0:36 
GeneralRe: full text search code Pin
Jörgen Sigvardsson10-Aug-03 0:43
Jörgen Sigvardsson10-Aug-03 0:43 
GeneralRe: full text search code Pin
Neville Franks10-Aug-03 0:51
Neville Franks10-Aug-03 0:51 
GeneralRe: full text search code Pin
Hans Dietrich10-Aug-03 2:08
mentorHans Dietrich10-Aug-03 2:08 
GeneralRe: full text search code Pin
Neville Franks10-Aug-03 2:56
Neville Franks10-Aug-03 2:56 
GeneralRe: full text search code Pin
Hans Dietrich10-Aug-03 3:26
mentorHans Dietrich10-Aug-03 3:26 
Hi Neville,

I am looking at using something like kwset.c or msrch.c for a commercial search product I am working on. I am still trying (and looking for) different implementations, so I haven't decided yet.

One thing that has to be decided up front is whether to do full boolean search, or just allow simple "or" search of multiple strings. Right now I am leaning toward simple "or" search, because it is easily understood by user. I have visited some web sites where they offer a boolean search, but most of them do not perform correctly, and there is little consistency.

You also have to think about how often the more obscure boolean features will be used - and, not, near, etc. (I have given up trying these, even when they are available, because of incorrect results from poor implementations.) Also, what does it mean to ask for "code and not review" in the context of a whole file? On the other hand, I admit that "code near review" would be useful, if implemented correctly. One of the things I intend to do is look at various implementations, and see if it is possible to retrieve some kind of "word distance".

Bibliographic searches are usually not offered in text editors. In very large files, it would be quite useful to search for "code", save the search results (the line hits), and then do a subsearch for "review" on those lines.
And then be able to go back to a previous subsearch, and start again from there. This would give the equivalent of "and" search.

Please let me know of anything interesting you find.

Best wishes,
Hans


GeneralRe: full text search code Pin
Neville Franks11-Aug-03 0:28
Neville Franks11-Aug-03 0:28 
Generalautomate Office without give Password Pin
Jason Truong9-Aug-03 22:33
Jason Truong9-Aug-03 22:33 
GeneralDynamic Allocation! Pin
Abbas_Riazi9-Aug-03 22:29
professionalAbbas_Riazi9-Aug-03 22:29 
GeneralMS Office automate and Unicode Pin
Jason Truong9-Aug-03 22:29
Jason Truong9-Aug-03 22:29 
GeneralExcel automate Pin
Jason Truong9-Aug-03 22:25
Jason Truong9-Aug-03 22:25 
GeneralVideo Codec Pin
fbaumgaertel9-Aug-03 21:49
fbaumgaertel9-Aug-03 21:49 
GeneralRe: Video Codec Pin
Joe Woodbury10-Aug-03 8:42
professionalJoe Woodbury10-Aug-03 8:42 
GeneralInterrop: .NET->COM server Pin
devvvy9-Aug-03 20:22
devvvy9-Aug-03 20:22 
GeneralRe: Interrop: .NET->COM server Pin
igor196011-Aug-03 19:14
igor196011-Aug-03 19:14 
QuestionHow to use GetGuiThreadInfo? Pin
Asyura9-Aug-03 16:54
Asyura9-Aug-03 16:54 
AnswerRe: How to use GetGuiThreadInfo? Pin
Michael Dunn9-Aug-03 17:28
sitebuilderMichael Dunn9-Aug-03 17:28 
Generalsuggest a book for... Pin
Beer269-Aug-03 12:26
Beer269-Aug-03 12:26 
GeneralRe: suggest a book for... Pin
Neville Franks9-Aug-03 12:46
Neville Franks9-Aug-03 12:46 
GeneralTree Control and Menu questions Pin
Binayak9-Aug-03 11:15
Binayak9-Aug-03 11:15 
GeneralRe: Tree Control and Menu questions Pin
Neville Franks9-Aug-03 11:24
Neville Franks9-Aug-03 11:24 
GeneralSilly Excel Pin
Anonymous9-Aug-03 10:50
Anonymous9-Aug-03 10:50 
GeneralRe: Silly Excel Pin
Joey Bloggs10-Aug-03 2:49
Joey Bloggs10-Aug-03 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.