lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jitender ahuja" <ajiten...@aalayance.com>
Subject Hit Id < 10 in new stop words' table Standard Analyzer causes error
Date Fri, 07 May 2004 11:28:04 GMT
Hi ,
      I am modifying the Standard Analyzer to include a new Stop-Words list, and am working
on an Index with 2 fields: 1) OBJECT_ID serving to identify a document: a keyword field ,
and 2) OBJECT_XML: a text field with Reader i.e., tokenised and indexed but not stored. 
Now, in response to the query string the results are retrieved correctly.Then, one need to
click on the retrieved hits to get the data from the database through a seperate java class
in the underlying  jsp  file , for a particular OBJECT_ID.

But it gives the following error for Hit Ids (OBJECT_ID) < 10 on clicking it to retrieve
the data field from the database.

org.apache.jasper.JasperException: Not a valid hit number: 0

Also, pl. do note that::    If the old analyzer is just used from the different folder it
causes no error.

Can , anyone tell why this weird behavior is exhibited?  


Regards,
Jitender
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message