[ http://issues.apache.org/jira/browse/LUCENE-680?page=all ]
Hoss Man resolved LUCENE-680.
-----------------------------
Resolution: Duplicate
This was fixed in the trunk via LUCENE-646.
> demo war: All links returned by results.jsp are "null"
> ------------------------------------------------------
>
> Key: LUCENE-680
> URL: http://issues.apache.org/jira/browse/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/HTMLDocument.java 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 match.
> A simple change to results.jsp as follow corrects this:
> OLD:
> String url = doc.get("url");
> NEW
> String url = doc.get("path");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]