lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nik Kolev" <nko...@healthmarketscience.com>
Subject RE: How to do facet search in lucene, NOT solr ?
Date Fri, 03 Sep 2010 12:59:52 GMT
You can also take a look at this:
http://code.google.com/p/bobo-browse/

-----Original Message-----
From: Li Li [mailto:fancyerii@gmail.com] 
Sent: Monday, August 30, 2010 6:06 AM
To: java-user@lucene.apache.org
Subject: Re: How to do facet search in lucene, NOT solr ?

I think you can read the codes of solr.
I guess you can implement a collect to get all hit docs into a
DocSet(bitset). Also getting facet fields into memory(doc id->field
value) then loop the DocSet to count it.

2010/8/30 fulin tang <tangfulin@gmail.com>:
> we are building a search system on top of lucene, and we are now
> looking for a facet feature
>
> So it there a easy way to do this ?
>
> btw, we do not want to switch to solr just for this!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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


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


Mime
View raw message