lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <>
Subject [jira] Closed: (LUCENENET-39) Solr Java code to VB.NET conversion problem
Date Wed, 18 Jul 2007 14:28:05 GMT


George Aroush closed LUCENENET-39.

    Resolution: Invalid
      Assignee: George Aroush

What you submitted is a question, not a defect.  Please post questions to the Lucene.Net mailing
list.  See: for instructions on how, if you are not
already a subscriber.


-- George

> Solr Java code to VB.NET conversion problem
> -------------------------------------------
>                 Key: LUCENENET-39
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Improvement
>         Environment: Windows XP, Lucene.NET
>            Reporter: Sawan Kumar Sharma
>            Assignee: George Aroush
> Hi,
> I have used Solr facets logic to implement faceted searching in my web site. 
> One problem I am facing here is that I am using BitArray class of .NET instead of BitSet
class of java. The BitSet class has one method "Cardinality" which is not available in BitArray.
This method returns number of True bits in BitSet. To achieve this goal I have used following
> 	Dim c As Integer = 0
>         For Each bit As Boolean In filterBitSet
>             If bit Then
>                 c += 1
>             End If
>         Next
>         Return c
> Here I have used Loop and it consume little bit more time while preparing facets. 
> How I can resolve this issue..??
> Thanks in advance
> Sawan

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message