lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Cahall (JIRA)" <>
Subject [jira] Created: (LUCENE-680) demo war: All links returned by results.jsp are "null"
Date Sun, 08 Oct 2006 22:59:19 GMT
demo war: All links returned by results.jsp are "null"

                 Key: LUCENE-680
             Project: Lucene - Java
          Issue Type: Bug
          Components: Examples
    Affects Versions: 2.0.1
         Environment: RHEL 3.0, tomcat 4.1.31, jdk 1.4.2_04
            Reporter: Ted Cahall
            Priority: Minor

The file org/apache/lucene/demo/ uses a field named "path" to store the URL
for each document.

The demo results.jsp retrieves the url with a field named "url" - and therefore there is no

A simple change to results.jsp as follow corrects this:
String url = doc.get("url");

String url = doc.get("path");

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message