[ 
https://issues.apache.org/jira/browse/LUCENE-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883452#comment-13883452
 ] 

Arcadius Ahouansou commented on LUCENE-5376:
--------------------------------------------

Hello.

I have checked out this branch and did in the lucene directory an 
ant clean package-zip
The build was successful and many artefacts were created including:

- lucene-xml-query-demo.war
- lucene-demo-5.0-SNAPSHOT.jar
- lucene-server-5.0-SNAPSHOT.jar

I dropped the war into a fresh jetty 9 install and jetty was not happy (see 
stacktrace below).

My questions is:
- How the demo and the new server package fit together?
- How to run the demo?

Thanks.

{code}
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:297)
        at org.eclipse.jetty.start.Main.start(Main.java:724)
        at org.eclipse.jetty.start.Main.main(Main.java:103)
        2014-01-27 22:21:36.288:WARN:lucene-xml-query-demo:main: unavailable
        javax.servlet.UnavailableException: 
org.apache.lucene.xmlparser.webdemo.FormBasedXmlQueryDemo
        at org.eclipse.jetty.servlet.BaseHolder.doStart(BaseHolder.java:102)
        at 
org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:294)
{code}

> 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