Hey Omer,
Create a copy movie_title and use edgy_text described here :
http://searchhub.org/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
With this approach you can request whatever field you want with fl parameter.
Ahmet
On Monday, March 17, 2014 3:48 PM, Erick Erickson
I am using Solr 4.5.1 to suggest movies for my system. What i need solr to
return not only the move_title but also the movie_id that belongs to the movie.
As an example; this is kind of what i need:response
lst name=responseHeader
int name=status0/int
int name=QTime1/int
Hi Omer,
That's not how its meant to work; the suggester is giving you
potentially matching terms by looking at the set of terms for the given
field across the index.
Possibly you want to look at the MoreLikeThis component or handler? It
will return matching documents, from which you have
Perhaps index the concatenation of the
two fields, something like this:
hard rain (1998)!14
Then have the app layer peel off the !14 for
displaying the title to the user. Then use the
14 however you need to.
Best,
Erick
On Mon, Mar 17, 2014 at 6:28 AM, Lajos la...@protulae.com wrote:
Hi Omer,