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 Ryan McKinley <ry...@gmail.com> on 2007/10/15 22:43:44 UTC
Re: Solr + autocomplete
>
> I would imagine there is a library to set up an autocomplete search with
> Solr. Does anyone have any suggestions? Scriptaculous has a JavaScript
> autocomplete library. However, the server must return an unordered
> list.
>
Solr does not provide an autocomplete UI, but it can return JSON that a
JS library can use to populate an autocomplete.
Depending on you index size/ query speed, you may be fine with a
standard faceting prefix filter. If the index is large, you may want to
index using the EdgeNGramFilterFactory.
Check the last comment in:
https://issues.apache.org/jira/browse/SOLR-357
ryan
RE: Solr + autocomplete
Posted by "Park, Michael" <Mi...@brown.edu>.
Thx! I remember coming across extjs a ways back. It was very slick.
I'll give it a try.
-----Original Message-----
From: Bharani [mailto:bharani_vms@yahoo.com]
Sent: Thursday, October 18, 2007 5:59 AM
To: solr-user@lucene.apache.org
Subject: RE: Solr + autocomplete
You should take a look at http:\\www.extjs.com. The combo box has got an
autocomplete fultionality. Infact it even has paging built into it. I
just
did a demo using Solr for autocomplete and i got a very good responsive
GUI.
I have got about 100,000 documents with 26 fields each and get a
response <
1s
Hope that helps
-Bharani
Park, Michael wrote:
>
> Thanks! That's a good suggestion too. I'll look into that.
>
> Actually, I was hoping someone had used a reliable JS library that
> accepted JSON.
>
> -----Original Message-----
> From: Ryan McKinley [mailto:ryantxu@gmail.com]
> Sent: Monday, October 15, 2007 4:44 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr + autocomplete
>
>>
>> I would imagine there is a library to set up an autocomplete search
> with
>> Solr. Does anyone have any suggestions? Scriptaculous has a
> JavaScript
>> autocomplete library. However, the server must return an unordered
>> list.
>>
>
> Solr does not provide an autocomplete UI, but it can return JSON that
a
> JS library can use to populate an autocomplete.
>
> Depending on you index size/ query speed, you may be fine with a
> standard faceting prefix filter. If the index is large, you may want
to
>
> index using the EdgeNGramFilterFactory.
>
> Check the last comment in:
> https://issues.apache.org/jira/browse/SOLR-357
>
> ryan
>
>
>
>
--
View this message in context:
http://www.nabble.com/Solr-%2B-autocomplete-tf4630140.html#a13271445
Sent from the Solr - User mailing list archive at Nabble.com.
RE: Solr + autocomplete
Posted by Bharani <bh...@yahoo.com>.
You should take a look at http:\\www.extjs.com. The combo box has got an
autocomplete fultionality. Infact it even has paging built into it. I just
did a demo using Solr for autocomplete and i got a very good responsive GUI.
I have got about 100,000 documents with 26 fields each and get a response <
1s
Hope that helps
-Bharani
Park, Michael wrote:
>
> Thanks! That's a good suggestion too. I'll look into that.
>
> Actually, I was hoping someone had used a reliable JS library that
> accepted JSON.
>
> -----Original Message-----
> From: Ryan McKinley [mailto:ryantxu@gmail.com]
> Sent: Monday, October 15, 2007 4:44 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr + autocomplete
>
>>
>> I would imagine there is a library to set up an autocomplete search
> with
>> Solr. Does anyone have any suggestions? Scriptaculous has a
> JavaScript
>> autocomplete library. However, the server must return an unordered
>> list.
>>
>
> Solr does not provide an autocomplete UI, but it can return JSON that a
> JS library can use to populate an autocomplete.
>
> Depending on you index size/ query speed, you may be fine with a
> standard faceting prefix filter. If the index is large, you may want to
>
> index using the EdgeNGramFilterFactory.
>
> Check the last comment in:
> https://issues.apache.org/jira/browse/SOLR-357
>
> ryan
>
>
>
>
--
View this message in context: http://www.nabble.com/Solr-%2B-autocomplete-tf4630140.html#a13271445
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr + autocomplete
Posted by Ryan McKinley <ry...@gmail.com>.
We have been using:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
with good success
ryan
Park, Michael wrote:
> Thanks! That's a good suggestion too. I'll look into that.
>
> Actually, I was hoping someone had used a reliable JS library that
> accepted JSON.
>
> -----Original Message-----
> From: Ryan McKinley [mailto:ryantxu@gmail.com]
> Sent: Monday, October 15, 2007 4:44 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr + autocomplete
>
>> I would imagine there is a library to set up an autocomplete search
> with
>> Solr. Does anyone have any suggestions? Scriptaculous has a
> JavaScript
>> autocomplete library. However, the server must return an unordered
>> list.
>>
>
> Solr does not provide an autocomplete UI, but it can return JSON that a
> JS library can use to populate an autocomplete.
>
> Depending on you index size/ query speed, you may be fine with a
> standard faceting prefix filter. If the index is large, you may want to
>
> index using the EdgeNGramFilterFactory.
>
> Check the last comment in:
> https://issues.apache.org/jira/browse/SOLR-357
>
> ryan
>
>
>
RE: Solr + autocomplete
Posted by "Park, Michael" <Mi...@brown.edu>.
Thanks! That's a good suggestion too. I'll look into that.
Actually, I was hoping someone had used a reliable JS library that
accepted JSON.
-----Original Message-----
From: Ryan McKinley [mailto:ryantxu@gmail.com]
Sent: Monday, October 15, 2007 4:44 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr + autocomplete
>
> I would imagine there is a library to set up an autocomplete search
with
> Solr. Does anyone have any suggestions? Scriptaculous has a
JavaScript
> autocomplete library. However, the server must return an unordered
> list.
>
Solr does not provide an autocomplete UI, but it can return JSON that a
JS library can use to populate an autocomplete.
Depending on you index size/ query speed, you may be fine with a
standard faceting prefix filter. If the index is large, you may want to
index using the EdgeNGramFilterFactory.
Check the last comment in:
https://issues.apache.org/jira/browse/SOLR-357
ryan
RE: Solr + autocomplete
Posted by "Park, Michael" <Mi...@brown.edu>.
Will I need to use Solr 1.3 with the EdgeNGramFilterFactory in order to
get the autosuggest feature?
-----Original Message-----
From: Chris Hostetter [mailto:hossman_lucene@fucit.org]
Sent: Monday, November 12, 2007 1:05 PM
To: solr-user@lucene.apache.org
Subject: RE: Solr + autocomplete
: "Error loading class 'solr.EdgeNGramFilterFactory'". For some reason
EdgeNGramFilterFactory didn't exist when Solr 1.2 was released, but the
EdgeNGramTokenizerFactory did. (the javadocs that come with each
release
list all of the various factories in that release)
-Hoss
RE: Solr + autocomplete
Posted by Chris Hostetter <ho...@fucit.org>.
: "Error loading class 'solr.EdgeNGramFilterFactory'". For some reason
EdgeNGramFilterFactory didn't exist when Solr 1.2 was released, but the
EdgeNGramTokenizerFactory did. (the javadocs that come with each release
list all of the various factories in that release)
-Hoss
RE: Solr + autocomplete
Posted by "Park, Michael" <Mi...@brown.edu>.
Thanks Ryan,
This looks like the way to go. However, when I set up my schema I get,
"Error loading class 'solr.EdgeNGramFilterFactory'". For some reason
the class is not found. I tried the stable 1.2 build and even tried the
nightly build. I'm using "<filter class="solr.EdgeNGramFilterFactory"
minGramSize="1" maxGramSize="20"/>".
Any suggestions?
Thanks,
Mike
-----Original Message-----
From: Ryan McKinley [mailto:ryantxu@gmail.com]
Sent: Monday, October 15, 2007 4:44 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr + autocomplete
>
> I would imagine there is a library to set up an autocomplete search
with
> Solr. Does anyone have any suggestions? Scriptaculous has a
JavaScript
> autocomplete library. However, the server must return an unordered
> list.
>
Solr does not provide an autocomplete UI, but it can return JSON that a
JS library can use to populate an autocomplete.
Depending on you index size/ query speed, you may be fine with a
standard faceting prefix filter. If the index is large, you may want to
index using the EdgeNGramFilterFactory.
Check the last comment in:
https://issues.apache.org/jira/browse/SOLR-357
ryan