lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <DOR...@il.ibm.com>
Subject Re: Query does not work past 26 characters?!
Date Thu, 20 Jul 2006 04:35:20 GMT
> doc.add(new Field("to",
>      "michael@reallylonglonglonglongname.com",
> ...
> PrefixQuery pq = new PrefixQuery(new Term("to",
>      "michael@reallylonglonglongname"));

Perhaps a typo in the query text -
   Indexed  text: "michael@reallylonglonglonglongname.com"
   Searched text: "michael@reallylonglonglongname"
The searched text is not a prefix of the indexed one.

Regards,
Doron


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


Mime
View raw message