All issues

Multiple BrowseSelections based on MultiValueFacetHandler result in zero results
BOBO-102
PathFacetHandler doesn't honor expandSelection
BOBO-87
BoboBrowser.close() should close facetAccessibles
BOBO-39
GeoFacetHandler IndexOutOfBounds
BOBO-295
Add lucene spatial facet handler
BOBO-294
BrowserRequest WITH FACETS fail on an index where document commits were interleaved between Document adds
BOBO-293
Bobo query fails on an index where document commits were interleaved between Document adds
BOBO-292
TermStringList returns wrong index for empty string
BOBO-291
Facets with some surrogate pairs can't be loaded
BOBO-290
Make Bobo segment readers cacheable
BOBO-289
Only fetch requested fields
BOBO-287
Make SortCollector more extendable
BOBO-286
Correct minIDs[0], maxIDs[0], freqs[0] in facet data cache
BOBO-285
Don't reuse orderArray for potential bug in FacetDataCache
BOBO-284
Export positions and offsets to term vector result
BOBO-283
Kill unnecessary hashmap creation on every hit
BOBO-282
BoboSegmentReader.document(id, visitor) is always returning all facet values, irrespective of visitor.needsField()
BOBO-281
Allow caller to specify which faceted fields to fetch
BOBO-280
Support reopening of IndexReaders
BOBO-279
Locale-aware comparison not used by MERGE_COMPATATOR
BOBO-278
Upgrading Bobo to Lucene 4.3.1
BOBO-277
PathFacetCountCollector.ensureCapacity throws IndexOutOfBounds exception
BOBO-275
BigSegmentArray for count arrays
BOBO-273
Field values is empty in BrowseRsult when using Zoie to add a new Data.
BOBO-108
Add map reduce support to Bobo
BOBO-106
Enhance the geosearch support
BOBO-105
revamp homepage
BOBO-104
Fix the problem with the indexOutOfBounds exception if no single field value is indexed
BOBO-103
Disable memory manager to avoid long full gc
BOBO-101
Reverse document order not supported in Bobo browse
BOBO-100
Add MultiValueRangeFacetHandler
BOBO-99
Add support for negative values
BOBO-97
Examine and incorporate the Bobo aggregates patch made by Herman van H_vell tot Westerflier
BOBO-96
Ability to filter on null values
BOBO-95
Have RangeFacetHandler support multi-valued data
BOBO-94
Move to maven from ivy
BOBO-93
Let default facethandlers that support primitive numbers also support negative numbers
BOBO-92
After Comparable is set to transient in BrowseHit, sorting is broken. We should remove need for Comparable in the api.
BOBO-91
NPE when facet is not correctly loaded
BOBO-90
facet iteration does not handle non-valued docs
BOBO-88
remove protobuf related stuff
BOBO-86
Add a selection of fields,facet values for retrieval
BOBO-85
Add utility method to intersect and union two BrowseSelection maps
BOBO-84
Sorting by multiple fields broken
BOBO-83
Lucene 3.4.0 upgrade
BOBO-82
Expose TermVector
BOBO-81
Performance issue seen with latest master for string facets with expand = true
BOBO-80
Cleanup license info
BOBO-77
When the FacetTermQuey is used in Boolean Query as FacetTermQuery_A OR FacetTermQuery_B, only one of these two FacetTermQueries will be used.
BOBO-76
Update webite to reflect new JIra and wiki locations
BOBO-74
issue 1 of 130

Multiple BrowseSelections based on MultiValueFacetHandler result in zero results

Description

When I add two BrowseSelections for Facets based on
MultiValueFacetHandler, I get zero results.

1 2 3 4 5 6 7 8 9 10 11 12 <bean id="categoryFacet" class="com.browseengine.bobo.facets.impl.MultiValueFacetHandler" parent="facetHandler"> <constructor-arg value="category" type="java.lang.String"/> <constructor-arg value="category.id" type="java.lang.String"/> </bean> <bean id="cityFacet" class="com.browseengine.bobo.facets.impl.MultiValueFacetHandler" parent="facetHandler"> <constructor-arg value="city" type="java.lang.String"/> <constructor-arg value="city.id" type="java.lang.String"/> </bean>


When I turn them into SimpleFacetHandler I get normal results

1 2 3 4 5 6 7 8 9 10 11 12 <bean id="categoryFacet" class="com.browseengine.bobo.facets.impl.SimpleFacetHandler" parent="facetHandler"> <constructor-arg value="category" type="java.lang.String"/> <constructor-arg value="category.id" type="java.lang.String"/> </bean> <bean id="cityFacet" class="com.browseengine.bobo.facets.impl.SimpleFacetHandler" parent="facetHandler"> <constructor-arg value="city" type="java.lang.String"/> <constructor-arg value="city.id" type="java.lang.String"/> </bean>

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 BoboIndexReader boboReader = BoboIndexReader.getInstance(reader,handlerList); BrowseRequest br=new BrowseRequest(); br.setCount(10); br.setOffset(0); BrowseSelection sel=new BrowseSelection("city"); sel.addValue("10"); br.addSelection(sel); BrowseSelection sel=new BrowseSelection("category"); sel.addValue("15"); br.addSelection(sel); QueryParser parser = new QueryParser("contents",new StandardAnalyzer(Version.LUCENE_CURRENT)); Query q=parser.parse("cool car"); br.setQuery(q); FacetSpec catSpec = new FacetSpec(); catSpec.setOrderBy(FacetSortSpec.OrderValueDesc); catSpec.setMaxHitCount(20); FacetSpec citySpec = new FacetSpec(); citySpec.setMinHitCount(1); citySpec.setOrderBy(FacetSortSpec.OrderHitsDesc); br.setFacetSpec("category",catSpec); br.setFacetSpec("city",citySpec); SortField sort = new SortField("sortDate",SortField.LONG,true); br.setSort(new SortField[]{sort});


I'm using Bobo Browse 3.0.1/Lucene 3.5

Environment

None

Status

Assignee

Lei Wang

Reporter

Marc Schipperheyn

Labels

None

Components

Fix versions

Affects versions

3.0.2

Priority

Blocker