lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben West (JIRA)" <j...@apache.org>
Subject [Lucene.Net] [jira] [Commented] (LUCENENET-415) Contrib/Faceted Search
Date Tue, 24 May 2011 13:57:47 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038562#comment-13038562
] 

Ben West commented on LUCENENET-415:
------------------------------------

Why do we need to know the size? Many IEnumerables don't expose a Count() method apart from
iterating through the entire list. We could just make it lazy:

{code}
public long HitCount
{
   get { return _bitSet.Cardiality(); }
}           
{code} 

I'll try your other things.

> Contrib/Faceted Search
> ----------------------
>
>                 Key: LUCENENET-415
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-415
>             Project: Lucene.Net
>          Issue Type: New Feature
>    Affects Versions: Lucene.Net 2.9.4
>            Reporter: Digy
>            Priority: Minor
>         Attachments: PerformanceTest.cs, PerformanceTest.cs, PerformanceTest.cs, SimpleFacetedSearch.cs,
SimpleFacetedSearch.cs, SimpleFacetedSearch.cs, SimpleFacetedSearch.cs, TestSimpleFacetedSearch.cs,
TestSimpleFacetedSearch.cs, facet performance.xls, facet performance.xls
>
>
> Since I see a lot of questions about faceted search in these days, I plan to add a Faceted-Search
project to contrib.
> DIGY

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message