468,119 Members | 1,689 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

c/c++ text searching engine library

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
4 2571
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
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
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
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.

Similar topics

reply views Thread by Rare Book School | last post: by
reply views Thread by Adam | last post: by
reply views Thread by Brandon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.