lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xx28 <x...@drexel.edu>
Subject code bug?
Date Thu, 24 Apr 2003 17:13:04 GMT
Hi,

I am using Lucene 1.2 web application. Most of queries work fine. However,when 
I tried to use phrase query like the following:

"basic service"

The fist result page is good (url like 
httP://com:8080/results.jsp?query=%22basic+service%22&db=dd&maxresults=20).

The page contains:
<a href="results.jsp?query="basic service"&maxresults=20&startat=20">More 
Results>></a>

If click More Results, error occurs since url changes to: 
http://com:8080/results.jsp?query=
No query at all.

Then I tried query:
qptional +basic +service

The result page url is 
http://com:8080/results.jsp?query=optional+%2Bbasic+%2Bservice&db=dd&maxresults=20
It contains 
<a href="results.jsp?query=optional +basic 
+service&maxresults=20&startat=20">More Results>></a>

Clicking on More Results, the url changed to:
http://com:8080/results.jsp?query=optional+basic+service&maxresults=20&startat=20
and the result is different(for example, the total hits) since the query has 
changed.

I am not sure anybody has the similar problem? Looks like need queryPreparser?

Regards, 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message