Re: Phrase query vs span query

2006-02-22 Thread Paul Elschot
On Wednesday 22 February 2006 16:39, Rajesh Munavalli wrote: > > I wasn't aware of the capability to nest spanquery. Is there a link where I > could read more about this? from the practice-what-you-preach dept. http://www.lucenebook.com/search?query=span+nest The subclasses of SpanQuery: http:/

Re: Phrase query vs span query

2006-02-22 Thread Rajesh Munavalli
On 2/22/06, Paul Elschot <[EMAIL PROTECTED]> wrote: > > > > > Typical Query: > > - > > Consists of 15 to 30 query terms. In other words, these query terms > > represent a conceptual section. > > Would you need synonyms of these terms, too? Yes. > > (2) After considering the

Re: Phrase query vs span query

2006-02-22 Thread Paul Elschot
On Wednesday 22 February 2006 00:45, Rajesh Munavalli wrote: > I am trying to adopt lucene for a special IR system. The following scenario > is an approximation of what I am trying to do. Please bear with me if some > things doesnt make sense. I need some suggestions on formulating queries for > th

Re: Phrase query vs span query

2006-02-21 Thread Chris Hostetter
: Rank 3: Documents containing atleast n (n < N, where N is total number of : query terms) in the same section and in order that's a non-trivial goal in itself -- even without the "in the same section" restriction, i can't think of a way to do that off the top of my head other then a Span query

Re: Phrase query vs span query

2006-02-21 Thread Rajesh Munavalli
On 2/21/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > your "Aim of the Query formation" got truncated, so it's not entirely > clear what you are looking for, but if the general idea of what you are Documents should be ordered as follows Rank 1: Documents containing section containing all t

Re: Phrase query vs span query

2006-02-21 Thread Chris Hostetter
your "Aim of the Query formation" got truncated, so it's not entirely clear what you are looking for, but if the general idea of what you are looking for is that you want searches for phrase like "quick brown fox" to only match if/when the words "quick" "brown" and "fox" all appear in the same sec