[ 
https://issues.apache.org/jira/browse/LUCENE-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-5376:
---------------------------------------

    Attachment: lucene-demo-server.tgz

I'm attaching the current sources (tgz archive)... they are standalone now but 
to add it into Lucene I think we should put it under lucene/demo or 
lucene/server or something.

It uses "custom" (Python) build scripts, because I became frustrated with ant; 
after extracting, {{python3 build.py test}} should run the tests.

These are just the sources for the server side of the 
http://jirasearch.mikemccandless.com app.

There are many issues to fix, e.g. cut back to ant (there are some old ant 
build scripts there), use only one JSON parser (it uses two now), but it does 
support a number of basic indexing/search APIs: add/update document/s, bulk 
add/update documents, suggest, search/After, block joins, highlighting, live 
field values, snapshots, basic index statistics (for diagnostics).

It has limited support for "plugins", but I'm tempted to remove that before 
committing.  The only plugin it has now is Tika, to crack binary documents into 
text for indexing.

> 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.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to