Gee KMail is crazy at times
On Thu, 21 Mar 2002 11:08, Tate Jones wrote:
> If i attempt a search that contains a forward slash '/' the following
> exception occurs
<testcase name="testFullTextStringPool" time="3.59">
<error
type="java.lang.NullPointerException">java.lang.NullPointerException
at org.apache.lucene.index.SegmentTermPositions.seek(Unknown Source)
at org.apache.lucene.index.SegmentTermDocs.seek(Unknown Source)
at org.apache.lucene.index.SegmentsTermDocs.termDocs(Unknown Source)
at org.apache.lucene.index.SegmentsTermDocs.next(Unknown Source)
at org.apache.lucene.search.PhrasePositions.next(Unknown Source)
at org.apache.lucene.search.PhrasePositions.<init>(Unknown Source)
at org.apache.lucene.search.PhraseScorer.<init>(Unknown Source)
at org.apache.lucene.search.ExactPhraseScorer.<init>(Unknown Source)
at org.apache.lucene.search.PhraseQuery.scorer(Unknown Source)
at org.apache.lucene.search.BooleanQuery.scorer(Unknown Source)
at org.apache.lucene.search.Query.scorer(Unknown Source)
at org.apache.lucene.search.IndexSearcher.search(Unknown Source)
at org.apache.lucene.search.Hits.getMoreDocs(Unknown Source)
at org.apache.lucene.search.Hits.<init>(Unknown Source)
at org.apache.lucene.search.Searcher.search(Unknown Source)
at org.apache.lucene.search.Searcher.search(Unknown Source)
Any ideas on how to escape the forward slash.
The string added was successful
"this/is/a/test/for/slashes"
I then tried to search for
"this/is/a/test/for/slashes"
then the exception occurred.
Thanks
Tate
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>