Re: Autocompletion with Solritas

2010-06-19 Thread Ken Krugler
, Ken Krugler wrote: I don't believe Solritas supports autocompletion out of the box. So I'm wondering if anybody has experience using the LucidWorks distro Solritas, plus the AJAX Solr auto-complete widget. I realize that AJAX Solr's autocomplete support is mostly just leveraging the jQuery

Re: Autocompletion with Solritas

2010-06-18 Thread Chantal Ackermann
Hi, here is my solution. It has been some time since I last looked at it, but it works fine. :-) script type=text/javascript src=/solr/epg/admin/file?file=/velocity/jquery-1.4.min.jscontentType=text/javascript/script script type=text/javascript

Re: Autocompletion with Solritas

2010-06-18 Thread Erik Hatcher
Yup, that's basically what I've done too, here's the script part: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/velocity/layout.vm?view=markup I didn't touch the example solrconfig, though putting the params in the request handler is the better way, as you have.

Re: Autocompletion with Solritas

2010-06-18 Thread Erik Hatcher
Looks like a typo below, Chantal, and another comment below too... On Jun 18, 2010, at 3:32 AM, Chantal Ackermann wrote: $(function() { $(#qterm).autocomplete('/solr/epg/suggest', { extraParams: { 'terms.prefix': function() { return

Re: Autocompletion with Solritas

2010-06-18 Thread Chantal Ackermann
Hi Erik, thanks so much for your feedback! hightlight? highlight :) ups... Seems that this parameter is false by default, though. At least it never complained. *g* This is one of the beauties of the VelocityResponseWriter, freeing the client from having to deal with a Solr data

Re: Autocompletion with Solritas

2010-06-18 Thread Ken Krugler
! :) Erik On Jun 17, 2010, at 8:03 PM, Ken Krugler wrote: I don't believe Solritas supports autocompletion out of the box. So I'm wondering if anybody has experience using the LucidWorks distro Solritas, plus the AJAX Solr auto-complete widget. I realize that AJAX Solr's autocomplete support

Re: Autocompletion with Solritas

2010-06-18 Thread Erik Hatcher
On Jun 18, 2010, at 2:56 PM, Ken Krugler wrote: Your wish is my command. Check out trunk, fire up Solr (ant run- example), index example data, hit http://localhost:8983/solr/browse - type in search box. That works - excellent! Now I'm trying to build a distribution from trunk that I can

Re: Autocompletion with Solritas

2010-06-18 Thread Erik Hatcher
On Jun 18, 2010, at 2:56 PM, Ken Krugler wrote: 3. I tried ant create-package from trunk/solr, and got this error near the end: /Users/kenkrugler/svn/lucene/lucene-trunk/solr/common-build.xml: 252: /Users/kenkrugler/svn/lucene/lucene-trunk/solr/contrib/ velocity/src not found. I don't

Re: Autocompletion with Solritas

2010-06-18 Thread Ken Krugler
? response lst name=responseHeaderint name=status0/intint name=QTime0/int/lstlst name=termslst name=product_nameint name=rug7/int/lst/lst /response Any ideas what I'm doing wrong? Thanks, -- Ken On Jun 17, 2010, at 8:03 PM, Ken Krugler wrote: I don't believe Solritas supports

Re: Autocompletion with Solritas

2010-06-18 Thread Erik Hatcher
name=QTime0/int/lstlst name=termslst name=product_nameint name=rug7/int/lst/lst /response Any ideas what I'm doing wrong? Thanks, -- Ken On Jun 17, 2010, at 8:03 PM, Ken Krugler wrote: I don't believe Solritas supports autocompletion out of the box. So I'm wondering if anybody has

Autocompletion with Solritas

2010-06-17 Thread Ken Krugler
I don't believe Solritas supports autocompletion out of the box. So I'm wondering if anybody has experience using the LucidWorks distro Solritas, plus the AJAX Solr auto-complete widget. I realize that AJAX Solr's autocomplete support is mostly just leveraging the jQuery Autocomplete

Re: Autocompletion with Solritas

2010-06-17 Thread Erik Hatcher
as terms.prefix - but this could be an issue if hitting a different request handler where q is used for the actual query for filtering terms on. Cool?! I think so! :) Erik On Jun 17, 2010, at 8:03 PM, Ken Krugler wrote: I don't believe Solritas supports autocompletion out

Re: Autocompletion with Solritas

2010-06-17 Thread Ken Krugler
terms on. Cool?! I think so! :) Erik On Jun 17, 2010, at 8:03 PM, Ken Krugler wrote: I don't believe Solritas supports autocompletion out of the box. So I'm wondering if anybody has experience using the LucidWorks distro Solritas, plus the AJAX Solr auto-complete widget. I