Re: Queries spanning paragraphs

2007-10-22 Thread Mark Miller
It is stable...give it a whirl. I use it at about 5 or 6 different heavily used installs at the moment and know of about a dozen others that use it (many others have downloaded, but who knows what for). If you notice anything off with it, I will fix immediately as I use it heavily in production

Re: Queries spanning paragraphs

2007-10-22 Thread John Byrne
Thanks for that, that's exactly what I needed. Actually, I hadn't heard of qsol, but it seems to solve a few other problems I have as well - correct highlighting, configurable operators, sentence recogition. Is it distributed under the Apache license? and is it currently stable enough to use o

Re: Queries spanning paragraphs

2007-10-22 Thread Mark Miller
I implemented this for my qsol query parser: myhardshadow.com/qsol Uses a modified SpanNotQuery that takes another parameter saying how many times the span can cross the specified marker. Index a special paragraph marker with your text to delimit paragraphs and then the rest is easy. - Mark

Queries spanning paragraphs

2007-10-22 Thread John Byrne
Hi all, I need the ability to match documents that have two terms that occur within n paragraphs of each other. I had a look through the archives, and although many people have explained ways to implement per-sentence or per-paragraph indexing & searching, no seems to have tackeled this one y