Hi James,
I think there is no screen available which is driven by Solr as of now where you can test directly but there are backend services to index and search products which is using default product schema. So you can test the Solr Integration by calling these services from webtools application. Follow below steps to test keyword search - *1. rebuildSolrIndex* - Run this service to build Solr Index. This will indexed available product data. *Note:* You can run this service from OFBiz webtools. Login to webtools application and go to this page https://demo-trunk.ofbiz.apache.org/webtools/control/runService. Enter the service name *rebuildSolrIndex *and run that service without passing any parameters for testing purpose (It will use default indexName which is solrDefault). *2. solrKeywordSearch* - Run this service to search products based on keywords. To run this service navigate to above mentioned page <https://demo-trunk.ofbiz.apache.org/webtools/control/runService> in webtools application. Enter the service name *solrKeywordSearch *and run that service. You will see following input/output parameters of this service- facetQuery,indexName(Default solrdefault),query,queryFilter,returnFields,sortBy,sortByReverse,viewIndex and viewSize. The *query *parameter is mandatory and indexName is default to solrDefault. Prepare your query string and pass it to query parameter. e.g. *internalName:Giant Widget *. This will bring all the products where internalName contains Giant or Widget or both the keyword. For your custom need it might possible that you need to enhance or redesign Solr Schema. HTH! Thanks, Ravi Lodhi On Mon, Jan 27, 2020 at 7:12 PM <[hidden email]> wrote: > Michael we are looking to be able to look for a product in ofbiz like a > google search and the system will look in all indexes, including > keywords, features, variants, etc > > So if i searched for something like "500 watt lightbulb 100v 5000K" > > it will return all products that have those keywords, features or > combination thereof. Is that a part of the standard demo? > > Thanks, > > Quincy > -------- Original Message -------- > Subject: Re: Solr Demo > From: Michael Brohl <[hidden email]> > Date: Sun, January 26, 2020 11:24 pm > To: [hidden email] > > Hi James, > > the official demos include the Solr integration. I'm not sure what you > are missing, can you specify more detailed what you like to see? > > Thanks, > > Michael Brohl > > ecomify GmbH - www.ecomify.de > > > Am 27.01.20 um 02:15 schrieb [hidden email]: > > Is there a demo of the Solr integration with Ofbiz? > > > > Thanks, > > > > James > |
The solr component (and all adopters) would surely benefit if it were to be
enhanced with such screens. Best regards, Pierre Smits *Apache Trafodion <https://trafodion.apache.org>, Vice President* *Apache Directory <https://directory.apache.org>, PMC Member* Apache Incubator <https://incubator.apache.org>, committer *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges) since 2008* Apache Steve <https://steve.apache.org>, committer On Mon, Feb 3, 2020 at 12:56 PM Ravi Lodhi <[hidden email]> wrote: > Hi James, > > I think there is no screen available which is driven by Solr as of now > where you can test directly but there are backend services to index and > search products which is using default product schema. So you can test the > Solr Integration by calling these services from webtools application. > > Follow below steps to test keyword search - > *1. rebuildSolrIndex* - Run this service to build Solr Index. This will > indexed available product data. > *Note:* You can run this service from OFBiz webtools. Login to webtools > application and go to this page > https://demo-trunk.ofbiz.apache.org/webtools/control/runService. Enter the > service name *rebuildSolrIndex *and run that service without passing any > parameters for testing purpose (It will use default indexName which is > solrDefault). > > *2. solrKeywordSearch* - Run this service to search products based on > keywords. To run this service navigate to above mentioned page > <https://demo-trunk.ofbiz.apache.org/webtools/control/runService> in > webtools application. Enter the service name *solrKeywordSearch *and run > that service. You will see following input/output parameters of this > service- facetQuery,indexName(Default > solrdefault),query,queryFilter,returnFields,sortBy,sortByReverse,viewIndex > and viewSize. The *query *parameter is mandatory and indexName is default > to solrDefault. > > Prepare your query string and pass it to query parameter. e.g. > *internalName:Giant > Widget *. This will bring all the products where internalName > contains Giant or Widget or both the keyword. > > For your custom need it might possible that you need to enhance or redesign > Solr Schema. > > HTH! > > Thanks, > Ravi Lodhi > > On Mon, Jan 27, 2020 at 7:12 PM <[hidden email]> wrote: > > > Michael we are looking to be able to look for a product in ofbiz like a > > google search and the system will look in all indexes, including > > keywords, features, variants, etc > > > > So if i searched for something like "500 watt lightbulb 100v 5000K" > > > > it will return all products that have those keywords, features or > > combination thereof. Is that a part of the standard demo? > > > > Thanks, > > > > Quincy > > -------- Original Message -------- > > Subject: Re: Solr Demo > > From: Michael Brohl <[hidden email]> > > Date: Sun, January 26, 2020 11:24 pm > > To: [hidden email] > > > > Hi James, > > > > the official demos include the Solr integration. I'm not sure what you > > are missing, can you specify more detailed what you like to see? > > > > Thanks, > > > > Michael Brohl > > > > ecomify GmbH - www.ecomify.de > > > > > > Am 27.01.20 um 02:15 schrieb [hidden email]: > > > Is there a demo of the Solr integration with Ofbiz? > > > > > > Thanks, > > > > > > James > > > |
Free forum by Nabble | Edit this page |