lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Frey" <lucenel...@quontis.com>
Subject RE: New Query Type(s)
Date Thu, 26 Feb 2004 20:28:20 GMT
I have done some testing on it on large data sets and they seem to work fine
(for my query types, which are very similar to yours).

Precision (#correct results retrieved by query/ #all results retrieved by
query) was good (i.e. 1), I cannot confirm Recall yet (#results retrieved /
#all possible good results) since I currently have no way of verifying the
search results other than running Lucene queries.

Thanks Doug

-----Original Message-----
From: Doug Cutting [mailto:cutting@apache.org] 
Sent: Tuesday, February 17, 2004 9:43 AM
To: Lucene Developers List
Subject: Re: New Query Type(s)

Paolo Spadafora wrote:
> did you implement such a feature yet?

Yes.  The org.apache.lucene.search.spans.* classes now in CVS support 
these sorts of operations.  There is no query parser support for them 
yet.  If you have questions or problems about how they work, please send 
them along.

> I know i am bothering you with these phrasequery issues...sorry...
> and, thank you. We all appreciate you.

Thanks!

> PS: search engine that support that use a sintax like:
> "a b c" w/10 "a f g" 
> for this type of query, users do not like to use "(" much. 

I'd love to see more query parsers contributed!

Doug

> Jochen wrote:
> 
>>Please disregard my prior post. I see that I outed myself as stupid.
> 
> 
> This was not a stupid request, but a reasonable one.  In fact I 
> currently have a contract to implement such a feature.  It should show 
> up in the next month or so.
> 
> Doug
> 
> 
>>>-----Original Message-----
>>>From: Jochen [mailto:lucenelist@quontis.com]
>>>Sent: Wednesday, January 07, 2004 8:48 AM
>>>To: 'Lucene Developers List'
>>>Subject: New Query Type(s)
>>>
>>>Lucene Gurus:
>>>
>>>	After looking at and trying out lucene for quite some time (and
>>>liking it), I would like to create some advanced queries to speed up our
>>>system. The first one I need to be as follows:
>>>
>>>	(+"a b c" +"d e")~10
>>>
>>>	In other words, I need to run a query in where two phrases (for
>>>right now an exact match will be fine) are in some defined proximity (in
>>>this example, I need "a b c" somewhere close to "d e").
>>>
>>>	The indexes created nicely support this kind of functionality, and
>>>the pieces of are all implemented (PhraseQuery, BooleanQuery, PhraseQuery
>>>with Slop). However, I believe that they cannot be stringed together with
>>>the current lucene version, to give me what I need.
>>>
>>>	I have studied the code and I will write the code to create this
>>>type of query (and make it available, if I get it working), but I would
>>>very
>>>much appreciate a high level roadmap from more experienced people (i.e.
>>>create a new Query Object, change this and that object to do such and
such
>>>...).
>>>
>>>	Cheers!
>>>		Jochen
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message