Hi,
if you model your database in a graph, you've a node for everything.
Example:

Product ->* Category

So you could issue a query like.

select in().size() from Category where name = 'Book'

This is very fast and no count operation is performed.

Lvc@



On 3 April 2014 15:33, Minnow Noir <[email protected]> wrote:

> Following up?
>
>
> On Sunday, March 30, 2014 7:16:57 PM UTC-4, Minnow Noir wrote:
>>
>>
>> Does OrientDB support faceted search like Solr (
>> http://wiki.apache.org/solr/SolrFacetingOverview) and other products?
>> There's no mention of it anywhere on the web site, wiki, or Google that I
>> can see.
>>
>> In case it's not clear, I'm referring to the ability to provide counts
>> for, and filter by, indexed field values for a given result set.  For
>> example, on Amazon.com, if you search for a product name, you can see the
>> number of different types of products matching the search results, and by
>> clicking on one of the product types causes the results to be filtered down
>> to only products that were in the original result set *AND* have product
>> type = selected product type.
>>
>> In Solr, this is done through dedicated constructs (e.g.,
>> &fq=product_type:"selected_type").
>>
>> Thanks!
>>
>>
>>
>>
>>
>>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to