Re: solr error after relacing schema.xml

2012-05-01 Thread BillB1951
PROBLEM RESOLVED.

Solr 3.6.0 changed where it looks for stopwords_en.txt (now in sub-directory
/lang) .  Schema.xml generated by Haystack 2.0.0 beta need to be edited. 
Everthing working now.

-
BillB1951
--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-error-after-relacing-schema-xml-tp3940133p3953115.html
Sent from the Solr - User mailing list archive at Nabble.com.


solr error after relacing schema.xml

2012-04-26 Thread BillB1951
Trouble getting solr and Haystack working together.  I have solar
working (can get admin screen and query test data).  I then create my
search_indexes.py (per getting started example, I also have run syndb
and added data to the Notes table).  I run manage.py
build_solar_schema, it generates XML for the schema.xml file. I
replace the contents of the schema.xml with the new content.  I
restart the solr server, then try to start admin  but get following
error

HTTP ERROR 500

Problem accessing /solr/admin/. Reason:

Severe errors in solr configuration.

Check your log files for more detailed information on what may be
wrong.

If you want solr to continue after configuration errors, change:

 abortOnConfigurationErrorfalse/abortOnConfigurationError

in solr.xml

-
org.apache.solr.common.SolrException: No cores were created, please
check the logs for errors

what am I doing wrong. 

-
BillB1951
--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-error-after-relacing-schema-xml-tp3940133p3940133.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr error after relacing schema.xml

2012-04-26 Thread BillB1951
It does not appear that any logfiles were created.


-
BillB1951
--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-error-after-relacing-schema-xml-tp3940133p3941997.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr error after relacing schema.xml

2012-04-26 Thread BillB1951
I'm using haystack 2.0.0Beta, and Apache-Solr-3.6.0.  

I'm not sure how to determine the schema.xml version, but I do notice that
the solr example's  schema.xml is 

schema name=example version=1.5-  and the schema.xml generated by
haystack is

schema name=default version=1.4.  Can I specify another schema.xml
generator for haystack?  If so , where?




-
BillB1951
--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-error-after-relacing-schema-xml-tp3940133p3942303.html
Sent from the Solr - User mailing list archive at Nabble.com.


Haystack - Solr recommended solr directory location

2012-04-17 Thread BillB1951
I'm using django-haystack and I am a little confused about where to put
/solr, and it's schema.xml, solr.xml, and solrconfig.xml files.

I currently have /solr in the following longer path --- /home/mydir/
solr/apache-solr3.6.0/example/

I'm thinking about moving the guts up a level (getting rid of /apache-
solr3.6.0/) leaving --- /home/mydir/solr/example/

It looks like the Jetty servelet is all under the example directory, so my
thought is to either change the directory name example to mysite, or
save a copy of example as mysite at the same level. In either case I end
up with --- /home/mydir/solr/mysite/

I read somewhere that schema.xml, solr.xml, and solrconfig.xml should be in
the /conf directory under the solr home directory. So I guess I should
create --- /home/mydir/solr/mysite/conf and place my files there.

I have added the following to my setting file:

HAYSTACK_CONNECTIONS = {
’default’: {
’ENGINE’: ’haystack.backends.solr_backend.SolrEngine’,
’URL’: ’http://127.0.0.1:8983/solr/mysite'
},
}

If I set everything up as outlined above should things work? If someone has
a clean elegant setup that works and they'd like to share --- I'm very open
to suggestions.

Thank you for the help.

btw - I have worked through the solr tutorial (so solr is working), and I
have installed haystack run syncdb (so appears haystack is ready to go
also).


-
BillB1951
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Haystack-Solr-recommended-solr-directory-location-tp3919030p3919030.html
Sent from the Solr - User mailing list archive at Nabble.com.