spnafirstquery and multiple field instances

2006-12-21 Thread Martin Braun
hello, with a SpanFirstQuery I want to realize a "starts with" search - that seems to work fine. But I have the Problem that I have documents with multiple titles and I thought I can do a sfq-search for each tiltle by adding multiple instances for the specific field: fo

Re: spnafirstquery and multiple field instances

2006-12-21 Thread Chris Hostetter
: for (String key : title.getTitel().split("\\n") ) { : titleDocument.add(new Field("TI", key, Field.Store.NO, : Field.Index.TOKENIZED)); : } that adds each new title one after the ot