You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Erik Holstad <er...@gmail.com> on 2013/01/30 18:09:40 UTC
Return Meta data when using Suggester
Hey!
Been playing around with Suggester and things are working just fine,
but I have a use case where it would be really helpful to return some meta
data
for each suggestion, for example the "id", or some other input that I can
specify.
Is this possible, or would it totally mess up the underlying data structure
to do
something like this.
I guess you could add the meta data to the tail of your string and then
parse it out at
retrieval time, but it feels kinda hacky.
--
Regards Erik
Re: Return Meta data when using Suggester
Posted by Erik Holstad <er...@gmail.com>.
Thanks Arcadius!
Looks very promising and will have a look at it.
On Wed, Jan 30, 2013 at 3:00 PM, Arcadius Ahouansou <ar...@menelic.com>wrote:
> Hi Erik.
>
> You way want to have a look at:
>
> http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/
>
> Arcadius.
>
>
>
> On 30 January 2013 17:09, Erik Holstad <er...@gmail.com> wrote:
>
> > Hey!
> >
> > Been playing around with Suggester and things are working just fine,
> > but I have a use case where it would be really helpful to return some
> meta
> > data
> > for each suggestion, for example the "id", or some other input that I can
> > specify.
> >
> > Is this possible, or would it totally mess up the underlying data
> structure
> > to do
> > something like this.
> >
> > I guess you could add the meta data to the tail of your string and then
> > parse it out at
> > retrieval time, but it feels kinda hacky.
> >
> >
> > --
> > Regards Erik
> >
>
--
Regards Erik
Re: Return Meta data when using Suggester
Posted by Arcadius Ahouansou <ar...@menelic.com>.
Hi Erik.
You way want to have a look at:
http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/
Arcadius.
On 30 January 2013 17:09, Erik Holstad <er...@gmail.com> wrote:
> Hey!
>
> Been playing around with Suggester and things are working just fine,
> but I have a use case where it would be really helpful to return some meta
> data
> for each suggestion, for example the "id", or some other input that I can
> specify.
>
> Is this possible, or would it totally mess up the underlying data structure
> to do
> something like this.
>
> I guess you could add the meta data to the tail of your string and then
> parse it out at
> retrieval time, but it feels kinda hacky.
>
>
> --
> Regards Erik
>