lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Prichard <>
Subject Query does not work past 26 characters?!
Date Thu, 20 Jul 2006 02:23:42 GMT
Tell me I am totally missing something here....

I created an index w/ StandardAnalyzer with two fields as follows:

Document doc = new Document();
doc.add(new Field("to", "", Field.Store.YES, Field.Index.TOKENIZED));
doc.add(new Field("content", "blah3 blah3 blah3", Field.Store.YES, Field.Index.TOKENIZED));

When I search for as follows:

PrefixQuery pq = new PrefixQuery(new Term("to", "michael@reallylonglonglong"));

I get a hit. That is good.

When I search a little more like:

PrefixQuery pq = new PrefixQuery(new Term("to", "michael@reallylonglonglongname"));

No hits!!

Same thing with QueryParser, etc.

Any ideas?


P.S.  I tried UN_TOKENIZED as well...but I don't think that messes with email addresses anyway.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message