Lucene - Core
  1. Lucene - Core
  2. LUCENE-2132

the demo application does not work as of 3.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, 4.0-ALPHA
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      the demo application does not work. QueryParser needs a Version argument.

      While I am here, remove @author too

        Activity

        Hide
        Mark Miller added a comment -

        tsk tsk - got to run that demo release manager The webapp demo too (which I think we should drop just because of that - its outdated and annoying to maintain).

        Show
        Mark Miller added a comment - tsk tsk - got to run that demo release manager The webapp demo too (which I think we should drop just because of that - its outdated and annoying to maintain).
        Hide
        Robert Muir added a comment -

        Committed revision 888247.

        Show
        Robert Muir added a comment - Committed revision 888247.
        Hide
        space fly added a comment -

        I got the same problem,and I find the way to solve that:
        in file "results.jsp" replace line 98 with the following line:

        QueryParser qp = new QueryParser(Version.LUCENE_CURRENT,"contents", analyzer);

        then it should be ok,

        ------

        in eclipse ide,there is another error tip,
        the way to resolve that is :
        in file "footer.jsp" replace line 19 with the follow line:

        Apache Lucene Template WebApp 1.0

        Show
        space fly added a comment - I got the same problem,and I find the way to solve that: in file "results.jsp" replace line 98 with the following line: QueryParser qp = new QueryParser(Version.LUCENE_CURRENT,"contents", analyzer); then it should be ok, ------ in eclipse ide,there is another error tip, the way to resolve that is : in file "footer.jsp" replace line 19 with the follow line: Apache Lucene Template WebApp 1.0

          People

          • Assignee:
            Robert Muir
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development