solr cluster: solr auto suggestion with requestHandler

2018-01-18 Thread Deepak Udapudi
Hi All, Problem: Not able to build suggest data on all solr cluster nodes Configured three solr using external zookeeper Configured the requestHandler for auto-suggestion as below true 5 Name suggest Name name name AnalyzingInfixLookupFa

Re: Preserve order during indexing

2018-01-18 Thread jagdish vasani
Hi Ashish, I think it's not possible,solr creates inverted index.. but you can get documents by sorting orders, give sort= asc/desc. Thanks, JagdishVasani On 19-Jan-2018 9:22 am, "Aashish Agarwal" wrote: > Hi, > > I need to index documents in solr so that they are stored in same order as > pres

Preserve order during indexing

2018-01-18 Thread Aashish Agarwal
Hi, I need to index documents in solr so that they are stored in same order as present in database. i.e *:* gives result in db order. Is it possible. Thanks, Aashish

Tesseract version in Solr 7.2

2018-01-18 Thread Zheng Lin Edwin Yeo
Hi, What is the Tesseract OCR version that comes with Solr 7.2.0? I can't manage to locate the information in the documentation. Thanks. Regards, Edwin

Re: Frequently Used Search Terms.

2018-01-18 Thread Emir Arnautović
Hi Fiz/Sameer, Unfortunately, Sematext has discontinued SA when we released new version of our product. We hope to bring it back at one point. Regards, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > O

Re: Documentation Slop (DisMax parser)

2018-01-18 Thread Jason Gerlowski
Hi James, 1. Good catch, and thanks for reporting it. 2. The improved wording you proposed above matches my (limited) understanding. Others might see something wrong that I missed, but I think it's definitely an improvement over the current wording. 3. If you'd like, you can start the change your

Re: Simple string comparison by SOLR function

2018-01-18 Thread Dariusz Wojtas
ok, I've found working solution using strdist(). If the result is less than 1.0 - these strings differ somehow. {!func}if(lt(strdist(\"${gender}\",\"male\",edit),1),0,1) this will let me go further with my logic. Best regards, Dariusz Wojtas On Thu, Jan 18, 2018 at 3:43 PM, Dariusz Wojtas

Proximity search in spellcheck collation

2018-01-18 Thread Arnold Bronley
Hi, Does Solr spellcheck collator consider proximity between words in multi-word search phrase? i.e. instead of returning spell suggestions by considering each individual word separately, does it consider them in group if the words occur together often? E.g. bll gats should return bill gates ins

Re: Frequently Used Search Terms.

2018-01-18 Thread Sameer Maggon
I don't think you can get this information from Solr as it does not store these. The stats component provides information around statistics, but it's mostly numeric in nature. You could parse server logs for come up with a way to build a Frequently Searched Terms (e.g. pump those logs in SiLK or Ki

Re:Frequently Used Search Terms.

2018-01-18 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
Hi Fiz, It is not possible at the moment, you will have to log the queries (from solr, or before you sent them) and use external tools to do that. There is a jira item on that if you are interested: https://issues.apache.org/jira/browse/SOLR-10359 Diego From: solr-user@lucene.apache.org At:

Re: Doubts regarding usage of block join query

2018-01-18 Thread Mikhail Khludnev
Just find a way how to write a block into a segment as whole via https://lucene.apache.org/core/4_6_0/core/org/apache/lucene/index/IndexWriter.html#addDocuments(java.lang.Iterable, org.apache.lucene.analysis.Analyzer). On Thu, Jan 18, 2018 at 8:24 AM, Aashish Agarwal wrote: > So is there any way

Frequently Used Search Terms.

2018-01-18 Thread Fiz Newyorker
Hi Team, I am using Solr 6.5, I want to retrieve the Information on the Frequently Searched Terms and User Clicks , Is there way to Store these information and Stats ? Where does the Lucene/Solr stores this Information. Is there way to retrieve this information . I want to use this information a

Documentation Slop (DisMax parser)

2018-01-18 Thread James
Hi: There seems to be an error in the documentation about the slop parameter ps used by the eDisMax parser. It reads: "This means that if the terms "foo" and "bar" appear in the document with less than 10 terms between each other, the phrase will match." Counterexample: "Foo one

Re: Need help with solr highlighting feature

2018-01-18 Thread Steve Rowe
Hi Aashish, Thanks for letting us know. -- Steve www.lucidworks.com > On Jan 17, 2018, at 1:41 PM, Aashish Agarwal wrote: > > Hello Steve, > > Sorry to disturb, the issue was due to custom tokenizer that I used. Since > that was not storing offset so term vector was not working. > Its resolve

Simple string comparison by SOLR function

2018-01-18 Thread Dariusz Wojtas
Hi, I am using LTR, and writing custom features. What I want to do, is conditional calculation, based on string comparison. Something like if ($gender == 'test') { calculation 1 (for test just return 0) } else { calculation 2 (for test just return 1) } 'gender' is param passed in th

Re: SOLR Data Backup

2018-01-18 Thread Florian Gleixner
Am 18.01.2018 um 10:21 schrieb Wael Kader: > Hello, > > Whats the best way to do a backup of the SOLR data. > I have a single node solr server and I want to always keep a copy of the > data I have. > > Is replication an option for what I want ? > > I would like to get some tutorials and papers i

Re: SOLR Data Backup

2018-01-18 Thread Emir Arnautović
Hi Wael, I am not sure about moving data in HDFS but you should be able to set up slave without reindexing. Did you start the first node in standalone mode? You need to check if replication handler is enabled (should be by default) and set up slave to pull data from the first node. Note that slav

Re: SOLR Data Backup

2018-01-18 Thread Wael Kader
Hi, The data is always changing for me so I think I can try the replication option. I am using cloudera and the data is saved in HDFS. Is it possible for me to move the data while the index is running without any problems ? I would also like to know if its possible to setup slave/master replicati

Re: SOLR Data Backup

2018-01-18 Thread Charlie Hull
On 18/01/2018 10:06, Wael Kader wrote: Hi, Its not possible for me to re-index the data in some of my indexes is only saved in SOLR. I need this solution to make sure that in case the live index fails, I can move to the backup or replicated index. OK, so now it's down to you to decide whether

Re: SOLR Data Backup

2018-01-18 Thread Emir Arnautović
Hi Weal, In general, it is not recommended to use Solr as a primary storage so it is better to store your data somewhere else. That will allow you o reindex if needed and also allow you to not store some field in index and make it more efficient. When it comes to your original question, it seems

Re: SOLR Data Backup

2018-01-18 Thread Wael Kader
Hi, Its not possible for me to re-index the data in some of my indexes is only saved in SOLR. I need this solution to make sure that in case the live index fails, I can move to the backup or replicated index. Thanks, Wael On Thu, Jan 18, 2018 at 11:41 AM, Charlie Hull wrote: > On 18/01/2018 09

Re: SOLR Data Backup

2018-01-18 Thread Emir Arnautović
Hi Weal, If you want HA and FT you have to have at least two Solr nodes and 3 zookeeper nodes (if you plan on using SolrCloud). If you want just to be sure you don’t have to reindex your data in case something goes wrong, you can use Solr backup feature: https://lucene.apache.org/solr/guide/6_6

Re: SOLR Data Backup

2018-01-18 Thread Charlie Hull
On 18/01/2018 09:21, Wael Kader wrote: Hello, Whats the best way to do a backup of the SOLR data. I have a single node solr server and I want to always keep a copy of the data I have. Is replication an option for what I want ? I would like to get some tutorials and papers if possible on the me

SOLR Data Backup

2018-01-18 Thread Wael Kader
Hello, Whats the best way to do a backup of the SOLR data. I have a single node solr server and I want to always keep a copy of the data I have. Is replication an option for what I want ? I would like to get some tutorials and papers if possible on the method that should be used in case its back

Re: Solr Exception: Undefined Field

2018-01-18 Thread Atita Arora
Hi Deepak, I am wondering if we can take a look at your schema and if you can tell which version of solr are you on,would help us to debug and recreate issue at our local box. Atita On Jan 18, 2018 1:44 PM, "Deepak Goel" wrote: > Hello > > In Solr Admin: I type the q parameter as - > > text_e

Re: Solr Exception: Undefined Field

2018-01-18 Thread Deepak Goel
Hello In Solr Admin: I type the q parameter as - text_entry:* It gives the following exception (In the schema I do see a field as text_entry): { "responseHeader":{ "zkConnected":true, "status":400, "QTime":2, "params":{ "q":"text_entry:*", "_":"1516190134181"}}, "error":{ "metadata":[ "error-cl