www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Search Engine

reply "ANtlord" <antlord92 gmail.com> writes:
Good day! I recenlty have tried create typical project on vibe.d. 
The web framework is not bad. And I can say, that it is better 
that something another web frameworks. But I have met a problem. 
I can't find search engine.

I use xapian always. It has API for several languages, but except 
D. I know about another search engines, but I can't find even one 
for D. Does D have search engine? Or Have I find theme for 
starting open source project?

Best Regards. Sorry for my english.
Oct 06 2014
parent reply "yawniek" <dlang srtnwz.com> writes:
On Monday, 6 October 2014 at 17:11:51 UTC, ANtlord wrote:
 Good day! I recenlty have tried create typical project on 
 vibe.d. The web framework is not bad. And I can say, that it is 
 better that something another web frameworks. But I have met a 
 problem. I can't find search engine.

 I use xapian always. It has API for several languages, but 
 except D. I know about another search engines, but I can't find 
 even one for D. Does D have search engine? Or Have I find theme 
 for starting open source project?

 Best Regards. Sorry for my english.
you should be able to include xapian via c++ extern interface see: http://dlang.org/cpp_interface.html or you can use std.json to talk to elasticsearch.
Oct 06 2014
parent reply "ANtlord" <antlord92 gmail.com> writes:
On Monday, 6 October 2014 at 18:54:53 UTC, yawniek wrote:
 On Monday, 6 October 2014 at 17:11:51 UTC, ANtlord wrote:
 Good day! I recenlty have tried create typical project on 
 vibe.d. The web framework is not bad. And I can say, that it 
 is better that something another web frameworks. But I have 
 met a problem. I can't find search engine.

 I use xapian always. It has API for several languages, but 
 except D. I know about another search engines, but I can't 
 find even one for D. Does D have search engine? Or Have I find 
 theme for starting open source project?

 Best Regards. Sorry for my english.
you should be able to include xapian via c++ extern interface see: http://dlang.org/cpp_interface.html or you can use std.json to talk to elasticsearch.
It would be stable? I mean program, that will use C++ extern interface.
Oct 08 2014
parent reply "Chris Williams" <yoreanon-chrisw yahoo.co.jp> writes:
On Wednesday, 8 October 2014 at 18:15:08 UTC, ANtlord wrote:
 It would be stable? I mean program, that will use C++ extern 
 interface.
Trying to link to C++ code will cause some work to solve build issues, but there shouldn't be any stability impacts other than recognizing that C++ won't be using memory management.
Oct 08 2014
parent "ANtlord" <antlord92 gmail.com> writes:
On Wednesday, 8 October 2014 at 20:15:33 UTC, Chris Williams 
wrote:
 On Wednesday, 8 October 2014 at 18:15:08 UTC, ANtlord wrote:
 It would be stable? I mean program, that will use C++ extern 
 interface.
Trying to link to C++ code will cause some work to solve build issues, but there shouldn't be any stability impacts other than recognizing that C++ won't be using memory management.
Ok, I have got it. So... I think, that topic is over. Thank you.
Oct 09 2014