Will Solr support google like organic search ?
Hi Guys, We have been asked by client to implement Organic Search like Google. As, we are using Solr for Search implementation in project, I am trying to find out whether its possible to implement Organic Search with Solr or not. Could you please answer below questions ASAP? • Will Solr support google like organic search ? • How Organic Search is different from the Free text search • Provide an example organic search what you mean. • What are the projects you know have organic search implementation. Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Will-Solr-support-google-like-organic-search-tp4339816.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Will Solr support google like organic search ?
Thanks Toke! We are collecting inputs from clients on this. It seems client wants to show advertisement kind of results along with relevance based results. So, is there any way to do this in Solr? Can any one respond on this please? Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Will-Solr-support-google-like-organic-search-tp4339816p4341859.html Sent from the Solr - User mailing list archive at Nabble.com.
Core is locked
Hi Team, We have setup of one master and two slaves. One master and one slave in one server (same JVM) and another slave in different server. This setup is working fine from past 6 months including production environment. Slave replication poll interval is 20 seconds on both slaves. Now, we are facing below issue in master solr. org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\solr-5.4.1\server\solr\sitecore_marketing_asset_index_master\data\index/' of core 'sitecore_marketing_asset_index_master' is already locked. The most likely cause is another Solr server (or another solr core in this server) also configured to use this directory; other possible causes may be specific to lockType: native sitecore_web_index: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'D:\inetpub\wwwroot\CMS-Solr\Solr\ We have stopped both slaves and restarted master. Still same issue is coming. We have deleted write.lock file from all cores under data/index. Then "site cant be reached" message is showing when access solr url. Can some one please provide information on how to fix this as we are struck with this issue during UAT? Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Core-is-locked-tp4311231.html Sent from the Solr - User mailing list archive at Nabble.com.
Slave replicating partially before write operation completes on master
Hi Team, We have below critical issue in our project. Please suggest how to fix this issue. Whenever indexing happening on master, slave replicating documents partially. Due to this, search results on website are showing wrongly. During indexing on master, I have observed below versions on master and slave MASTER - Master (searching) version - 1 Master (Replicable) version - 2 SLAVE --- Master (searching) version - 1 Master (Replicable) version - 2 Slave (Searching) version - 2 Once indexing gets completed, versions on both master and slave are same as 3 and also data replicated completely to slave. Below is replication cong used in master and slave commit optimize commit schema.xml 00:00:10 2 16 http://localhost:8983/solr/global_web_index/replication 00:00:20 Can any one please advice how to solve this issue as this is creating escalations on project. NOTE: As of now, I am disabling replication on slave before indexing to avoid this issue. Thanks in advance! Regards, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Slave-replicating-partially-before-write-operation-completes-on-master-tp4331453.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Slave replicating partially before write operation completes on master
Any replies on this please? We are stuck with this issue.. FYI: We are using Solr 5.4.1 version. -- View this message in context: http://lucene.472066.n3.nabble.com/Slave-replicating-partially-before-write-operation-completes-on-master-tp4331453p4331515.html Sent from the Solr - User mailing list archive at Nabble.com.
Stemming not working with wildcard search
Hi, I have added SnowballPorterFilterFactory filter to field type to make singular and plural search terms return same results. So below queries (double quotes around search term) returning similar results which is fine. http://localhost:8080/solr/master/select?q=page_title_t:"product*"; http://localhost:8080/solr/master/select?q=page_title_t:"products*"; But when I have analyzed results, in both result sets, documents which dont start with words "Product" or "products" didnt come though there are few documents available. So I have added * as prefix and suffix to search term without double quotes to do wildcard search. http://localhost:8080/solr/master/select?q=page_title_t:*product* http://localhost:8080/solr/master/select?q=page_title_t:*products* Now, stemming is not working as above second query is not returning similar results as query 1. If double quotes are added around search term then its returning similar results but results are not as expected. With double quotes it wont return results like "Old products", "New products", "Cool Product". It will only return results with the values like "Product 1", "Product 2","Products of USA". Please suggest or guide how to make stemming work with wildcard search. Appreciate immediate response!! Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Stemming-not-working-with-wildcard-search-tp4133382.html Sent from the Solr - User mailing list archive at Nabble.com.
Wildcard search not working with search term having special characters and digits
Hi, Below query without wildcard search is returning results. http://localhost:8080/solr/master/select?q=page_title_t:"an-138"; But below query with wildcard is not returning results http://localhost:8080/solr/master/select?q=page_title_t:"an-13*"; Below query with wildcard search and no didgits is returning results. http://localhost:8080/solr/master/select?q=page_title_t:"an-*"; I have tried by adding WordDelimeter Filter but there is no luck. Please suggest or guide how to make wildcard search works with special characters and digits. Appreciate immediate response!! Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-search-not-working-with-search-term-having-special-characters-and-digits-tp4133385.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Stemming not working with wildcard search
Can some one please help me with this as I am struck with this issue.. -- View this message in context: http://lucene.472066.n3.nabble.com/Stemming-not-working-with-wildcard-search-tp4133382p4133477.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard search not working with search term having special characters and digits
Can some one please help me with this as I am struck with this issue.. -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-search-not-working-with-search-term-having-special-characters-and-digits-tp4133385p4133478.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard search not working with search term having special characters and digits
Thanks jack for prompt response! So is there any solution to make this scenario works? Or wildcard doesn't work with special characters and numerics? Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-search-not-working-with-search-term-having-special-characters-and-digits-tp4133385p4133554.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Stemming not working with wildcard search
Hi Ahmet, Thanks for your prompt response! I have added filters which you have specified but still its not working. Below is field Query Analyzer http://localhost:8080/solr/master/select?q=page_title_t:*products* http://localhost:8080/solr/master/select?q=page_title_t:*product* Please let me know if I am doing anything wrong. Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Stemming-not-working-with-wildcard-search-tp4133382p4133556.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Stemming not working with wildcard search
Can someone help me out with this issue? -- View this message in context: http://lucene.472066.n3.nabble.com/Stemming-not-working-with-wildcard-search-tp4133382p4133769.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard search not working with search term having special characters and digits
Can someone help me out with this issue please? -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-search-not-working-with-search-term-having-special-characters-and-digits-tp4133385p4133770.html Sent from the Solr - User mailing list archive at Nabble.com.
Error initializing QueryElevationComponent
Hi Team, I am getting error "null:org.apache.solr.common.SolrException: SolrCore 'master' is not available due to init failure: Error initializing QueryElevationComponent." Please check below for configurations elevate.xml -- Scema.xml --- SolrConfig.xml --- spellcheck1 elevator I am adding elevator to default request handler. This handler is also using Spellcheck1 component. string elevate.xml So now I am getting below error and core itself not loading. If I change id in elevate.xml as instead of then error is not coming.But results are not coming as expected. What is wrong with value "sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=en&ver=1" ? Please suggest or guide how to make it work.. Complete Error details null:org.apache.solr.common.SolrException: SolrCore 'master' is not available due to init failure: Error initializing QueryElevationComponent. at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:783) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:287) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:195) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. at org.apache.solr.core.SolrCore.(SolrCore.java:834) at org.apache.solr.core.SolrCore.(SolrCore.java:625) at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:522) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:557) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:247) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:239) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) ... 3 more Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:241) at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:601) at org.apache.solr.core.SolrCore.(SolrCore.java:829) ... 11 more Caused by: org.apache.solr.common.SolrException: org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: 28; columnNumber: 80; The reference to entity "ver" must end with the ';' delimiter. at org.apache.solr.core.Config.(Config.java:148) at org.apache.solr.core.Config.(Config.java:86) at org.apache.solr.core.Config.(Config.java:81) at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:223) ... 13 more Caused by: org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: 28; columnNumber: 80; The reference to entity "ver" must end with the ';' delimiter. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(Unknow
Re: Error initializing QueryElevationComponent
Hi, I have changed & as "&" Now, core is getting initialized. But document added in elevate.xml is not coming as top result. Also, why below query is not returning any results though document is available in index? http://localhost:8080/solr/master/select?q=_uniqueid:"sitecore://master/{450555a7-2cf7-40ec-a4ad-a67926d23c4a}?lang=en&ver=1"; Please suggest as I am struck with this.. Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Error-initializing-QueryElevationComponent-tp4133914p4137160.html Sent from the Solr - User mailing list archive at Nabble.com.
Stemming for Chinese and Japanese
Hi, What is the filter to be used to implement stemming for Chinese and Japanese language field types. For English, I have used and its working fine. Appreciate your help! Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Stemming-for-Chinese-and-Japanese-tp4137225.html Sent from the Solr - User mailing list archive at Nabble.com.