proximity question

2010-07-06 Thread mike anderson
Will quotes do an exact match within a proximity test? For instance body:""mountain goat" grass"~10 should match: "the mountain goat went up the hill to eat grass" but should NOT match "the mountain where the goat lives is covered in grass" If not, does anybody know how to accomplish this?

Re: proximity question

2010-07-06 Thread Ahmet Arslan
> Will quotes do an exact match within > a proximity test? No. > If not, does anybody know how to accomplish this? It is not supported out-of-the-box. You need to plug Lucene's XmlQueryParser or SurroundQueryParser. Similar discussion: http://search-lucene.com/m/PO3iXKRuAv1/