You might be able to create an analyzer that breaks your stream up (from the example) into tokens "foo" and "," and then (using the same analyzer) search on phrases with a slop of 0. That seems like it'd do what you want.....
Best Erick On 10/1/07, Patrick Turcotte <[EMAIL PROTECTED]> wrote: > > Of course, it depends on the kind of query you are doing, but (I did > find the query parser in the mean time) > > MultiFieldQueryParser mfqp = new MultiFieldQueryParser(useFields, > analyzer, boosts); > where analyzer can be a PerFieldAnalyzer > followed by > Query query = mfqp.parse(queryString); > would do the trick quite simply. > > Patrick > > On 10/1/07, John Byrne <[EMAIL PROTECTED]> wrote: > > Well, the size wouldn't be a problem, we could afford the extra field. > > But it would seem to complicate the search quite a lot. I'd have to run > > the search terms through both analyzers. It would be much simpler if the > > characters were indexed as separate tokens. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >