lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: solr 1.4 suggester component
Date Sat, 30 Oct 2010 18:55:52 GMT
Sorry it took so long to respond, I got wrapped up in work. I don't think
going to be able to pull this off (but of course I've been wrong before).
File based
suggestions look like they do an awful lot of stuff for you, at some expense
customization (no surprise here).

That said, though, there's no need to have a second core if you wanted to
do something yourself. Remember that Solr documents do not need to have
the same fields. So, you could easily create a "document" that simply had
one huge field NOT in common with any other document. Go ahead and
index into this field from the dictionary file any way you want. Your
can then operate off this field, customized however you want. Recent Solr
builds have an example of how to do this through Ajax calls by going against
a specific field. You embed a bit of Javascript in your page that makes
to get terms from the relevant field. See layout.vm and browse.vm in the
code for a sense of how this can occur....


On Mon, Oct 25, 2010 at 10:31 AM, abhayd <> wrote:

> hi erick,
> Thanks for the link.
> Problem is we dont want to have another solr core for implementing this, So
> was trying suggester component as it allows file based auto suggest.
> It works fine only issue is how to get prefix ignored . Any idea?
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message