om> cc:
Subject: Re: Concatinated search
string in not working!
03.09.2004 16:34
The "Keyword"-ness of a field is only at indexing time, and not
something known about at query time.
You need to use a different analyzer for that field. Check out posts
on KeywordAnalyzer and PerFieldAnalyzerWrapper - this combination is
the secret :)
Erik
On Sep 3, 2004, at 9:55 AM
Trying to search by two fields I got nothing.
The fields where created like:
String provider =
doc.add(Field.Keyword("provider", provider));
...
InputStreamReader input = new InputStreamReader( new ByteArrayInputStream(
contents ) );
document.add(Field.Text("contents", input ));
Searching