Any suggestions???? Kindly help me to move forward. Regards, Chitra
On Wed, Feb 15, 2017 at 9:23 PM, Chitra R <chithu.r...@gmail.com> wrote: > Hi, > Thanks for the suggestion. But in the case of drill sideways > search, retrieving allDimensions (using Facets.getAllDimension()) threw an > exception which is shown below... > > 1. While opening DocValuesReaderState, global ordinals and ordinals Range > map will be computed for '$facets' field only. > 2. NumericDocValuesField never indexes under '$ facets' so ordinal > RangeMap will be null for the numeric field ie 'time'. > > java.lang.IllegalArgumentException: dimension "time" was not indexed >> >> at org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts. >>> getTopChildren(SortedSetDocValuesFacetCounts.java:91) >> >> t org.apache.lucene.facet.MultiFacets.getAllDims(MultiFacets.java:74) >> >> > In my use case, > > - Both string pathTraversed and Numeric PathTraversedRanges will > occur. > - And both faceted search and drill sideways search will be used. > > So how can I add path-traversed numericRanges? > > Am I missed anything? > > > Kindly post your suggestions. > > > Regards, > Chitra > > On Wed, Feb 15, 2017 at 3:28 PM, Michael McCandless < > luc...@mikemccandless.com> wrote: > >> Hi, have a look at the RangeFacetsExample.java under the lucene/demo >> module... it shows how to do this. >> >> Mike McCandless >> >> http://blog.mikemccandless.com >> >> >> On Tue, Feb 14, 2017 at 12:07 PM, Chitra R <chithu.r...@gmail.com> wrote: >> > Hi, >> > We have planned to implement both string and numeric faceting using >> docvalues field. >> > >> > For string faceting, we have added pathtraversed dimensions in >> drilldownquery. But for numeric faceting , how and where can we add >> pathtraversed ranges during nextlevel faceted search.? >> > And which is the better way to add pathtraversed ranges >> > ( ie adding pathtraversed ranges in numericRangeQuery or >> > adding pathtraversed ranges in filter).??Or Any other solution.??? >> > >> > Thanks & Regards, >> > Chitra >> > >> > >> > Sent from my iPhone >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> > For additional commands, e-mail: java-user-h...@lucene.apache.org >> > >> > >