By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,686 Members | 2,770 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,686 IT Pros & Developers. It's quick & easy.

c/c++ text searching engine library

P: n/a
I am looking for a c/c++ text search engine library that supports:

- free text searching - not only beginning of words but substrings as
well
- wildcard searching - I want strings such as *test* to be supported
- regular expressions

I know about clucene, but, unless I am mistaken, lucene doesn't
support, for instance, having the * at the beginning of the searched
text, and it doesn't seem to support searching substrings.

Is there anything else out there? I came across a library developed at
some university, the library had a deity name but I can't recall it.

Thanks
Nov 21 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I just want to add that I used google to search for a library but I
could not find anything 100% satisfactory.
Nov 21 '07 #2

P: n/a
Costa a écrit :
I just want to add that I used google to search for a library but I
could not find anything 100% satisfactory.
http://en.wikipedia.org/wiki/Compari...ession_engines
Nov 21 '07 #3

P: n/a
I am actually looking for an embeddable c/c++ text search engine such
as clucene not for a regular expression library. If the engine
doesn't support regular expressions that's fine but I want it to
support wildcard searches and substrings.
Nov 21 '07 #4

P: n/a
Costa wrote:
I am looking for a c/c++ text search engine library that supports:
- free text searching - not only beginning of words but substrings as
well
- wildcard searching - I want strings such as *test* to be supported
- regular expressions
I know about clucene, but, unless I am mistaken, lucene doesn't
support, for instance, having the * at the beginning of the searched
text, and it doesn't seem to support searching substrings.
Is there anything else out there? I came across a library
developed at some university, the library had a deity name but
I can't recall it.
Boost has a regex component that looks pretty good. For
wildcard matching, of course, the conventions are somewhat
system dependent. In my own code, I map the wildcard pattern to
a regular expression, and use that.

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Nov 22 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.