Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
Thank you for the suggestion. I followed your advice and was able to get a version up and running. Thanks again for all the help! On Wed, Mar 23, 2011 at 1:55 PM, Ahmet Arslan wrote: > > I'm still confused as to why I'm > > getting this error. To me it reads that the > > .java file was declared

Re: Adding the suggest component

2011-03-23 Thread Ahmet Arslan
> I'm still confused as to why I'm > getting this error. To me it reads that the > .java file was declared incorrectly but I shouldn't need to > change those > files so where am I doing something incorrectly? > Brian, I think best thing to do is checkout a new clean copy from subversion and then

Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
I'm still confused as to why I'm getting this error. To me it reads that the .java file was declared incorrectly but I shouldn't need to change those files so where am I doing something incorrectly? On Tue, Mar 22, 2011 at 3:40 PM, Brian Lamb wrote: > That fixed that error as well as the could no

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
That fixed that error as well as the could not initialize Dataimport class error. Now I'm getting: org.apache.solr.common.SolrException: Error Instantiating Request Handler, org.apache.solr.handler.dataimport.DataImportHandler is not a org.apache.solr.request.SolrRequestHandler I can't find anyth

Re: Adding the suggest component

2011-03-22 Thread Ahmet Arslan
> java.lang.NoClassDefFoundError: Could not initialize class > org.apache.solr.handler.dataimport.DataImportHandler > at java.lang.Class.forName0(Native Method) > > java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory > at > org.apache.solr.handler.dataimport.DataImportHandler.(DataImportHandle

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
2, 2011 at 11:56 AM, Ahmet Arslan wrote: > >> >> --- On Tue, 3/22/11, Brian Lamb wrote: >> >> > From: Brian Lamb >> > Subject: Re: Adding the suggest component >> > To: solr-user@lucene.apache.org >> > Cc: "Erick Erickson" >> > Date

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
Awesome! That fixed that problem. I'm getting another class not found error but I'll see if I can fix it on my own first. On Tue, Mar 22, 2011 at 11:56 AM, Ahmet Arslan wrote: > > --- On Tue, 3/22/11, Brian Lamb wrote: > > > From: Brian Lamb > > Subject: R

Re: Adding the suggest component

2011-03-22 Thread Ahmet Arslan
--- On Tue, 3/22/11, Brian Lamb wrote: > From: Brian Lamb > Subject: Re: Adding the suggest component > To: solr-user@lucene.apache.org > Cc: "Erick Erickson" > Date: Tuesday, March 22, 2011, 5:28 PM > Thanks everyone for the advice. I > checked out a re

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
I found the following in the build.xml file: It looks like the dataimport handler path is correct in there so I don't understand why it's not being compile. I ran ant example again today but I'm still gettin

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
Thanks everyone for the advice. I checked out a recent version from SVN and ran: ant clean example This worked just fine. However when I went to start the solr server, I get this error message: SEVERE: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.

Re: Adding the suggest component

2011-03-21 Thread Erick Erickson
OK, I think you're jumping ahead and trying to do too many things at once. What did you download? Source? The distro? The error you posted usually happens for me when I haven't compiled the "example" target from source. So I'd guess you don't have the proper targets built. This assumes you downloa

Re: Adding the suggest component

2011-03-18 Thread Ahmet Arslan
> downloaded a recent version and > > > there were the following files/folders: > > > > > > build.xml > > > dev-tools > > > LICENSE.txt > > > lucene > > > NOTICE.txt > > > README.txt > > > solr > > > > > > So I did cp -r solr/* /path/to/solr/stuff/ and > started solr. I didn't get > > > any error m

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
Sorry, that was a typo on my part. I was using http://localhost:8983/solr/admin and getting the above error messages. On Fri, Mar 18, 2011 at 2:57 PM, Geert-Jan Brits wrote: > > 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 > Solr started on port 8983 > > instead of this: >

Re: Adding the suggest component

2011-03-18 Thread Geert-Jan Brits
> 2011-03-18 14:11:02.284:INFO::Started SocketConnector@0.0.0.0:8983 Solr started on port 8983 instead of this: > http://localhost/solr/admin/ try this instead: http://localhost:8983/solr/admin/ Cheers, Geert-Jan 2011/3/18 Brian Lamb > That does seem like a be

Re: Adding the suggest component

2011-03-18 Thread Darx Oman
Hi Solr 3.x and 4.x (trunk) include a component called Suggester http://wiki.apache.org/solr/Suggester

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
That does seem like a better solution. I downloaded a recent version and there were the following files/folders: build.xml dev-tools LICENSE.txt lucene NOTICE.txt README.txt solr So I did cp -r solr/* /path/to/solr/stuff/ and started solr. I didn't get any error message but I only got the followi

Re: Adding the suggest component

2011-03-18 Thread Erick Erickson
What do you mean "you copied the contents...to the right place"? If you checked out trunk and copied the files into 1.4.1, you have mixed source files between disparate versions. All bets are off. Or do you mean jar files? or??? I'd build the source you checked out (at the Solr level) and use tha

Adding the suggest component

2011-03-17 Thread Brian Lamb
Hi all, When I installed Solr, I downloaded the most recent version (1.4.1) I believe. I wanted to implement the Suggester ( http://wiki.apache.org/solr/Suggester). I copied and pasted the information there into my solrconfig.xml file but I'm getting the following error: Error loading class 'org.