This could also be an opportunity for using Streaming Expressions….  Especially 
if there is other filtering or manipulations you would want to do on  top of 
your first list of  rare words….


> On Aug 27, 2021, at 8:16 AM, Kyle Fransham <kyle.frans...@superna.net> wrote:
> 
> Using the json facet, I think a combination of "limit" (to limit the number
> of records to be equal or less than the value you're looking for) and
> "sort" (something like sort:{count:asc} ) would give you what you're
> describing.
> 
> This taken from:
> https://solr.apache.org/guide/8_8/json-facet-api.html#terms-facet
> 
> Kyle
> 
> On Thu, Aug 26, 2021 at 7:25 PM Scott Derrick <sc...@tnstaafl.net> wrote:
> 
>> There is a mincount when requesting a type: terms facet, limiting the
>> return buckets to at least this number, default 1
>> 
>> I need a maxcount, limiting the return buckets to less than a specified
>> number.
>> 
>> I'm interested in the rare words, not the common words.
>> 
>> thanks,
>> 
>> Scott
>> 
> 
> 
> -- 
> 
> *Kyle Fransham*
> Vice President - Research and Development
> 
> 
> *Manage, Protect & Secure Unstructured Data at Scale*
> 
> tel 613-729-1100 | mobile 613-897-9414 | www.supernaeyeglass.com
> 
> 
> <https://www.facebook.com/SupernaNET>  <https://twitter.com/SupernaNet>
> <https://www.linkedin.com/company/superna-net>
> 
> -- 
> CONFIDENTIALITY NOTICE: The information contained in this email is 
> privileged and confidential and intended only for the use of the individual 
> or entity to whom it is addressed.   If you receive this message in error, 
> please notify the sender immediately at 613-729-1100 and destroy the 
> original message and all copies. Thank you.

_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | 
My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
    
This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.

Reply via email to