Re: Will Solr support google like organic search ?

2017-06-19 Thread Geepalem
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.


Will Solr support google like organic search ?

2017-06-09 Thread Geepalem
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: Slave replicating partially before write operation completes on master

2017-04-23 Thread Geepalem
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.


Slave replicating partially before write operation completes on master

2017-04-22 Thread Geepalem
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.


Core is locked

2016-12-26 Thread Geepalem
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.


Re: Error initializing QueryElevationComponent

2014-05-20 Thread Geepalem
Hi,

I have changed  as amp
Now, core is getting initialized. But document added in elevate.xml is not
coming as top result.



elevate
 query text=*analog*
  doc
id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enamp;ver=1/
 /query  
/elevate


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=enamp;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

2014-05-20 Thread Geepalem
Hi,

What is the filter to be used to implement stemming for Chinese and Japanese
language field types.
For English, I have used  filter class=solr.SnowballPorterFilterFactory
language=English / 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.


Error initializing QueryElevationComponent

2014-04-30 Thread Geepalem
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
--

elevate
 query text=analog
  doc
id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1/
 /query  
/elevate


Scema.xml
---
 field name=_uniqueid type=string indexed=true stored=true
required=true /


SolrConfig.xml
---

 arr name=last-components
  strspellcheck1/str
  strelevator/str
 /arr

I am adding elevator to default request handler. This handler is also using
Spellcheck1 component.

  searchComponent name=elevator
class=org.apache.solr.handler.component.QueryElevationComponent 
str name=queryFieldTypestring/str
str name=config-fileelevate.xml/str
  /searchComponent



So now I am getting below error and core itself not loading.
If I change id in elevate.xml as  doc
id=bce22a40d2be4cd791ed6bf4b88d0450/ 
instead of  doc
id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1/
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=enver=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.init(SolrCore.java:834)
at org.apache.solr.core.SolrCore.init(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.init(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.init(Config.java:148)
at org.apache.solr.core.Config.init(Config.java:86)
at org.apache.solr.core.Config.init(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

Re: Stemming not working with wildcard search

2014-04-29 Thread Geepalem
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

2014-04-29 Thread Geepalem
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.


Re: Stemming not working with wildcard search

2014-04-28 Thread Geepalem
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

2014-04-28 Thread Geepalem
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

2014-04-28 Thread Geepalem
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

2014-04-28 Thread Geepalem
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

 analyzer type=query
tokenizer class=solr.StandardTokenizerFactory /
filter class=solr.LowerCaseFilterFactory / 

filter class=solr.KeywordRepeatFilterFactory/
filter class=solr.PorterStemFilterFactory/
filter class=solr.RemoveDuplicatesTokenFilterFactory/
 /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.


Stemming not working with wildcard search

2014-04-27 Thread Geepalem
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

2014-04-27 Thread Geepalem
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.
filter class=solr.WordDelimiterFilterFactory generateWordParts=1
generateNumberParts=1 catenateWords=1 catenateNumbers=1
catenateAll=0 splitOnCaseChange=1/


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.