My eclipse IDE still gives me suggestion that JNDI is not set properly...How to set JNDI for solr?
I am using tomcat5.5.23 and added solr.xml with context fragments inside the tomact5.5/../catalina/localhost. Is it the correct way of doing it? Or do i need to add context fragment in the server.xml file in conf dir of tomcat? It is easy to start server using jetty externally, however I want solr to be up and running through tomcat, is it possible? If yes please tell me the helpful resources or any suggestions from your side... Thanks in advance... Funtick wrote: > > It should be easy to configure SOLR Schema, & use SOLRJ client; does not > matter jetty/tomcat etc.; stick with simple SOLRJ java client: access > database, generate SOLR document, update SOLR, execute query, parse > (SOLRJ->SolrDocument), generate content, etc... Much easier, scalable, and > more effective than XSLT (initial version of my website was Cocoon&SAXON > powered; it was ugly...). > www.tokenizer.org > >> >> Hey hi... >> >> Ya the content is generated dynamically from a database...but >> all data in >> the xml docs(parameters in it) will have same structure as >> specified in the >> schema..e.g all will have uniquekey parameter set as "csid". >> >> I am adding particular case studies in my database with all >> information like >> name, address...also tags. Then I want to search those case >> studies on the >> basis of tags added. I have set up solr for that but I am >> starting it using >> jetty server. I think I will have to start it thru tomcat itself. >> >> Any quotes? >> >> Funtick wrote: >> > >> > Hi, >> > >> > As I understood, you need a search for your web application. >> > >> > - How many pages it has? >> > - Is content generated dynamically from a database (for instance)? >> > >> > Another problem: after updating solrschema.xml you need >> > - restart SOLR >> > - reindex SOLR >> > >> > With changing unique ID in schema... I don't remember, but >> it should be of >> > specific type. You probably need to reindex SOLR. >> > >> > If your application generates dynamic content, it would be >> better to index >> > database directly adding 'URL' field to SOLR schema. >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/solr-to-work-for-my-web-application-tp15 > 450968p15474490.html > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/solr-to-work-for-my-web-application-tp15450968p15495846.html Sent from the Solr - User mailing list archive at Nabble.com.