Hi Robert, Please take reference from http://bigfish.salmonllc.com/bfDownload.html and download the BigFish Project.
Bigfish integrated the solr in the way as you want here. In Bigfish a java service is implemented (that includes all the Queries to Ofbiz Entities using delegator) to generate the product index file. Once the index file is generated we can Query to index file using SolrQuery to get the data. I think this will help you. Comments and Questions, welcome ! Thanks, Praveen Agrawal On Wed, Jul 11, 2012 at 5:47 PM, Robert G. <[email protected]> wrote: > hey guys, > > im trying to get solr running with ofbiz. The solr server is running - > good. > > Now I want solr to index the specific data from my database, so i added the > fields to my schema.xml. > > Now Im thinking about the way to connect. > > the normal way, which is described in solr wiki is about the entity within > the db-data-config.xml. > > But this entity includes the DB connection (hard coded) and the SQL Querey > (hard coded). That I do not want. I want to use the existing DB-connection > and existing entities of ofbiz. Maybe I want to write a service to index > the > data. > > So do you know, how I can tell Solr to use an existing DB connection and > entity? > > And if I write a service, lets say in java, how can I send the data than to > Solr? With SolrJ? But with SolrJ I have to connect via http, whcih I think > is to bad on an existing local server... > > what do you think? How have you handled it? > > > Thanks, Robert > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Has-anyone-implemented-Faceted-Search-using-SOLR-tp4633260p4634694.html > Sent from the OFBiz - User mailing list archive at Nabble.com. >
