mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.08k stars 76 forks source link

basic example #52

Open ghost opened 5 years ago

ghost commented 5 years ago

Any chance you can make a golang example that uses the GRPC API and the test data in the "examples" directory ?

It would make it much easier to get going and helping to fix things too.

mosuka commented 5 years ago

Hi @gedw99,

Thank you for your idea. I'll put an example code which access to Blast via gRPC directly later. It would be useful to others.

prologic commented 5 years ago

@mosuka Speaking of which... I'm looking at using your project blast in an experimental proof-of-concept search engine. Can you help me understand a little more about how to create index mappings? I've read through the Bleve documentation and I'm still "not getting it" yet. My use-case is to index Web Pages. Thanks!

mosuka commented 5 years ago

@prologic Thank you for your interest in Blast! This repository contains an example for Wikipedia indexing and its mapping file. It looks very similar to web page indexing. Could you refer to this one? https://github.com/mosuka/blast#wikipedia-example https://github.com/mosuka/blast/blob/master/example/enwiki_index_mapping.json

Also, Bleve provides web-based UI for creating index mapping. See the following repository: https://github.com/blevesearch/bleve-mapping-ui Contact the Bleve project if you want more information about mapping. Thanks!

prologic commented 5 years ago

This repository contains an example for Wikipedia indexing and its mapping file. It looks very similar to web page indexing. Could you refer to this one? https://github.com/mosuka/blast#wikipedia-example https://github.com/mosuka/blast/blob/master/example/enwiki_index_mapping.json

Yes! I've already looked at this.

Also, Bleve provides web-based UI for creating index mapping. See the following repository: https://github.com/blevesearch/bleve-mapping-ui

This I didn't know! Thank you :D I'll have a play around with it!

Contact the Bleve project if you want more information about mapping.

I was actually more interested in sharing your experiences or what you've learned more than anything. I can read documentation too; but learning from others is sometimes more productive :)