[
https://issues.apache.org/jira/browse/LUCENE-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985564#comment-13985564
]
James Dyer commented on LUCENE-5376:
------------------------------------
Just playing around with this a little bit. I'm running into some barriers for
a quick start, wonder if we could...
- If user doesn't specify a handler, or an invalid one, return a list of valid
handlers, possibly with a little param documentation instead of the current
IllegalArgumentException
- Allow commands like "createIndex" be execute as GET and not require POST.
Maybe let users pass parameters on the URL and not always expect an incoming
JSON document? And/or have a parameter "json" for such a document?
I'd be happy to try and add this but wasn't sure if the intent was to make this
strictly a server-to-server app, or also something users could play around with
interactively with a browser.
> Add a demo search server
> ------------------------
>
> Key: LUCENE-5376
> URL: https://issues.apache.org/jira/browse/LUCENE-5376
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Attachments: lucene-demo-server.tgz
>
>
> I think it'd be useful to have a "demo" search server for Lucene.
> Rather than being fully featured, like Solr, it would be minimal, just
> wrapping the existing Lucene modules to show how you can make use of these
> features in a server setting.
> The purpose is to demonstrate how one can build a minimal search server on
> top of APIs like SearchManager, SearcherLifetimeManager, etc.
> This is also useful for finding rough edges / issues in Lucene's APIs that
> make building a server unnecessarily hard.
> I don't think it should have back compatibility promises (except Lucene's
> index back compatibility), so it's free to improve as Lucene's APIs change.
> As a starting point, I'll post what I built for the "eating your own dog
> food" search app for Lucene's & Solr's jira issues
> http://jirasearch.mikemccandless.com (blog:
> http://blog.mikemccandless.com/2013/05/eating-dog-food-with-lucene.html ). It
> uses Netty to expose basic indexing & searching APIs via JSON, but it's very
> rough (lots nocommits).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]