facet.field=ints ??

On Mon, Aug 29, 2016 at 11:57 AM, Algirdas Jokubauskas <a...@mcb.dk> wrote:

> What kind of facets would work best here for this specific scenario?
>
> I already use it in several places.
>
>
> Med venlig hilsen / Best regards
>
> *Algirdas Jokubauskas*
> Software Developer
>
>
>
>
>
>
> *www.accumolo.com <http://www.accumolo.com/>www.mcb.dk
> <http://www.mcb.dk/>kont...@accumolo.dk <kont...@accumolo.dk>*
>
> +45 9610 2824
>
> Lægårdvej 86B
>
> DK-7500 Holstebro
>
> On Thu, Aug 25, 2016 at 3:43 PM, Mikhail Khludnev <m...@apache.org> wrote:
>
> > Did you consider field facet?
> >
> > On Thu, Aug 25, 2016 at 3:35 PM, Algirdas Jokubauskas <a...@mcb.dk>
> wrote:
> >
> > > Hi,
> > >
> > > So I've been trying to figure out how to accomplish this one, but
> > couldn't
> > > find anything that would not kill performance.
> > >
> > > I have a document type with a bunch of info that I use for various
> tasks,
> > > but I want to add a new field which is a list of ints.
> > >
> > > Then I want to do a free text search of that document and get a list of
> > top
> > > 10 most popular ints among the results.
> > >
> > > So if say I had these documents:
> > >
> > > DocA(ints(1,5,7), freetext: "Marry had a little lamb")
> > > DocB(ints(4,3,5), freetext: "Marry had a little wolf")
> > > DocC(ints(5,1,8), freetext: "Marry had a big goat")
> > >
> > > and if I search for "little", and ask for the most popular int I would
> > get
> > > 5
> > >
> > > In a normal case I would ask for 10 most common and there would be a
> few
> > > hundred thousand docs and a few hundred ints in each doc.
> > >
> > > I'm stumped. Any tips? Thanks.
> > >
> > > - AJ
> > >
> >
> >
> >
> > --
> > Sincerely yours
> > Mikhail Khludnev
> >
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to