You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Giulio Cesare Solaroli <sl...@ibn-italy.com> on 2003/06/26 17:33:54 UTC

Query for term frequency

Hi,

we are using Lucene quite successfully. Our users are so happy with the 
performance of Lucene that they are starting making strange requests.

One of our users would like to find all documents where a given term is 
present more than a given amount of times.

As I understand Lucene (I really do understand it very poorly) this 
information should be available on the index, but I haven't found a way 
to query it within a search statement.

Did I miss something, or this in not possible to achieve with the 
current version of Lucene?

In the first case, is there anybody willing to point me to the right 
way of doing it?
If the second option is true, is there anybody already working on this?

Thanks for your time.

Regards,

Giulio Cesare Solaroli

===================================================================
  www.extrapola.com - Online media monitoring
===================================================================
  Giulio Cesare SOLAROLI - CTO

  email: gc.solaroli@extrapola.com
  voice: +39 0545 936031 - fax: +39 0541 821941

  Via Mazzini, 39 - Bagnacavallo, Ravenna - Italy
==================================================================
  www.eukra.it - www.sophia.it - www.praxa.it - www.municipia.it
==================================================================


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


Re: Query for term frequency

Posted by Giulio Cesare Solaroli <sl...@ibn-italy.com>.
On Monday, Jun 30, 2003, at 19:12 Europe/Rome, Doug Cutting wrote:

> Giulio Cesare Solaroli wrote:
>> One of our users would like to find all documents where a given term 
>> is present more than a given amount of times.
>
> This is not supported by the existing query classes.

Thanks for your reply.

Could you give me any suggestion on the best way to handle this problem?
Is it feasible to add this feature to the current Lucene architecture?

Regards,

Giulio Cesare Solaroli


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


Re: Query for term frequency

Posted by Doug Cutting <cu...@lucene.com>.
Giulio Cesare Solaroli wrote:
> One of our users would like to find all documents where a given term is 
> present more than a given amount of times.

This is not supported by the existing query classes.

Doug


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