|Re: [orion-dev] search API|
The intent was to directly use the Solr HTTP syntax rather than invent our own:
I think we have slightly drifted from that over time, as we worked around various problems. Overall I like the idea of sticking with a well known API instead of trying to come up with a new one. It's a good question though, and I'll add a note about it to our documentation. Maybe one thing we can do is document a particular subset of Solr API that we use because Solr itself is pluggable and very open-ended. Were you looking to create a new server implementation or just wanting to call our existing SearchServlet.
I should also mention, there is an API on the client side that isolates the rest of the client code from knowing anything specific about Solr/Lucene, and it would be possible to plugin a new search on the client side that uses a completely different HTTP API if desired.
Back to the top