This all seems a bit too much work for such a real-world scenario?
--- IntelCompute Web Design & Local Online Marketing http://www.intelcompute.com On Tue, 7 Feb 2012 05:11:01 -0800 (PST), Ahmet Arslan <iori...@yahoo.com> wrote: >> I'm still finding matches across >> newlines >> >> index... >> >> i am fluent >> german racing >> >> search... >> >> "fluent german" >> >> Any suggestions? > > You can use a multiValued field for this. Split your document > according to new line at client side. > > <arr>i am fluent</arr> > <arr>german racing</arr> > > positionIncrementGap="100" will prevent query "fluent german" to match. > > Or, may be you can inject artificial tokens via > > http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PatternReplaceCharFilterFactory > > Your document becomes : i am fluent NEWLINE german racing