Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks interesting ... #35

Closed
davidsinclair opened this issue Jun 5, 2014 · 1 comment
Closed

Looks interesting ... #35

davidsinclair opened this issue Jun 5, 2014 · 1 comment
Labels

Comments

@davidsinclair
Copy link

Hi,

I am working on an alpha version of a website and we want to add a simple site search. A little googling led me to forage and it looks like it might work very well for us!

What I would like to do is to index our content (this is currently stored as a structured directory of markdown files). How might I go about indexing this into forage? Is it as simple as using the forage-document-processor command with a cusatom adaptor to do the conversion and then running the forage-indexer on the resulting files?

Any guidance would be greatly appreciated.

David

@fergiemcdowall
Copy link
Owner

Hi David

Basically- get your stuff into the forage JSON format, and then POST it to forage.

It may be easier to use the forage-* tools, or you might find it easier to roll your own JSON parser and POST/cURL it all into Forage.

The failsafe route would be markdown->html->forage-document-processor->forage-indexer->forage.

(Is the site live yet? URL?)

Fergie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants