[ https://issues.apache.org/jira/browse/LUCENENET-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038063#comment-13038063 ]
Digy commented on LUCENENET-415: -------------------------------- Hi Ben, Thanks for your comments & test code. {code} sfs = new SimpleFacetedSearch(reader, "category"); sfs.Search(query) // + fetch {code} is roughly equal to {code} foreach(cat in GetGroups("category")) { BooleanQuery bq = BooleanQuery(); bg.Add(query , Lucene.Net.Search.BooleanClause.Occur.MUST) bg.Add(queryParser.Parse("category:" + cat) , Lucene.Net.Search.BooleanClause.Occur.MUST); indexSearcher.Search(bg); // + fetch } {code} It would be good to compare these two codes too. DIGY > 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, > SimpleFacetedSearch.cs, SimpleFacetedSearch.cs, SimpleFacetedSearch.cs, > TestSimpleFacetedSearch.cs, TestSimpleFacetedSearch.cs, 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