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

Search proxy #10

Open
juokaz opened this issue Sep 13, 2012 · 2 comments
Open

Search proxy #10

juokaz opened this issue Sep 13, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@juokaz
Copy link

juokaz commented Sep 13, 2012

Summary

A layer that forwards any requests to an existing help desk server implementation, but indexes any updates and provides full-text search capabilities to clients.

Requirements

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in IETF RFC 2119.

Specification

The service MUST forward all requests to the upstream server unmodified.

The service SHOULD augment responses sent from the upstream server to the client with information on how to perform searches (e.g. through embedded XForms, XHTML Forms or URI Templates).

@juokaz
Copy link
Author

juokaz commented Sep 13, 2012

I propose using Elasticsearch as that is very easy to get up working and also supports data synchronization using Rivers. We are definitely not going to implement Rivers as that requires writing a Java plugin, which is quite a lot of work.

So we store documents in elasticsearch containing a list of searchable fields and a reference to actual ticket in the ticket system(s). So once the results are retrieved from the search index, results are looked up from the servers and returned. OR tickets are stored as cached copies as part of the document and returned immediately with a timestamp to identify the age.

@ghost ghost assigned juokaz Sep 13, 2012
@juokaz
Copy link
Author

juokaz commented Sep 13, 2012

You can follow it here https://github.com/juokaz/restfest-search-proxy

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

1 participant