error when update.distrib=FROMLEADER

2014-04-23 Thread YouPeng Yang
Within Solr Cloud 4.6.0,I have a master core and indexing to it using DIH.In the meantime,I also update indexes with solrJ. Things go well until I create a replication of the master,Exception comes out as [1]. When do I get this exception? [1]--- org.apache.solr.common.So

Re: Typecast non stored string field for sorting

2014-04-23 Thread bbi123
I think you can write a custom function query and use it on query time. -- View this message in context: http://lucene.472066.n3.nabble.com/Typecast-non-stored-string-field-for-sorting-tp4132759p4132779.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Typecast non stored string field for sorting

2014-04-23 Thread Erick Erickson
I don't know of any way offhand to do this except to re-index. You can't, for instance, say "copy from this indexed field to this other indexed field". Is it possible for you to re-index? Best, Erick On Wed, Apr 23, 2014 at 12:46 PM, abhishek jain wrote: > Hi friends, > I have a field which is

Re: Selectively hiding SOLR facets.

2014-04-23 Thread bbi123
Not sure if I understand your question. The language field has both spanish and english for the country='USA' and SOLR is returning all the available facets for country="USA" 3 Spanish USA Jacek 1466216353231798272 4 English USA Dave 1466216353231798273 -- View this message in context: ht

Replication - Configurable location of External files?

2014-04-23 Thread bbi123
Hi, The current version of SOLR that I am using (4.2) always searches for external files in 'data' directory. This makes replication (of external files very difficult) as replication handler looks only in 'conf' folder. I would suggest to make the path configurable so that we can place these fil

Selectively hiding SOLR facets.

2014-04-23 Thread atuldj.jadhav
Hi team. Please help me address one problem I am facing in SOLR faceting. I have two websites (for countries Belgium & US) on each of these websites I have a managers details page which is served from a common SOLR index. I have indexed feed xml in SOLR. 1 French BE

Typecast non stored string field for sorting

2014-04-23 Thread abhishek jain
Hi friends, I have a field which is string which I created by mistake it should have been int. It is not stored just indexed. I want to numerically sort it, and hence I want a function which can at query convert to integer or double and then I can apply sort. Is it possible? If not then can I crea

AnalyzingInfixSuggester's indexPath

2014-04-23 Thread Jeroen Steggink
Hi, Recently I started experimenting with the AnalyzingInfixSuggester. However, I just found out the index is put in the Solr home directory instead of the default ./data directory of the core. I can set a specific indexPath, but it would be nice if the default data dir would be used when nothin

Re: Problem indexing email attachments

2014-04-23 Thread Olivier . Masseau
As I said, it is not a problem in the Tika library ;) I have tried with Tika 1.5 jars and it gives the same results. Guido Medina wrote on 23/04/2014 16:15:11: > From: Guido Medina > To: solr-user@lucene.apache.org > Date: 23/04/2014 16:15 > Subject: Re: Problem indexing email attachments >

RE: Collection - loadOnStartup

2014-04-23 Thread Sudhir Kumar
unsubscribe From: Srivatsan Sent: Wednesday, April 23, 2014 2:58 PM To: solr-user@lucene.apache.org Subject: Re: Collection - loadOnStartup Dear Rich Mayfield, Sorry for late reply. We didn't continue further in that. We have moved to Elasticsearch. Elast

Re: Solr data directory contains index backups

2014-04-23 Thread Greg Walters
In the data/ directory there's frequently a .properties file that contains the name of the index. directory that solr is currently using. Most of the time you can safely delete all of the index. directories that aren't in the properties file. As an extra verification step you might want

Re: Problem indexing email attachments

2014-04-23 Thread Guido Medina
We particularly massage solr.war and put our own updated jars, maybe this helps: http://www.apache.org/dist/tika/CHANGES-1.5.txt We using Tika 1.5 inside Solr with POI 3.10-Final, etc... Guido. On 23/04/14 14:38, olivier.mass...@real.lu wrote: Hello, I'm trying to index email files with Sol

Re: Confusion when using go-live and MapReduceIndexerTool

2014-04-23 Thread Mark Miller
Currently, go-live is only supported when you are running Solr on HDFS. bq. The indexes must exist on the disk of the Solr host This does not apply when you are running Solr on HDFS. It’s a shared filesystem, so local does not matter here. "no writes should be allowed on either core until the m

Re: Indexing Big Data With or Without Solr

2014-04-23 Thread Vineet Mishra
I did it with Tomcat and Zookeeper Ensemble, will mail you the steps shortly. Cheers On Sat, Apr 19, 2014 at 9:09 AM, Aman Tandon wrote: > Vineet please share after you setup for solr cloud > Are you using jetty or tomcat.? > > On Saturday, April 19, 2014, Vineet Mishra wrote: > > Thanks Furka

Problem indexing email attachments

2014-04-23 Thread Olivier . Masseau
Hello, I'm trying to index email files with Solr (4.7.2) The files have the extension .eml (message/rfc822) The mail body is correctly indexed but attachments are not indexed if they are not .txt files. If attachments are .txt files it works, but if attachment are .pdf of .docx files they

Re: Collection - loadOnStartup

2014-04-23 Thread Srivatsan
Dear Rich Mayfield, Sorry for late reply. We didn't continue further in that. We have moved to Elasticsearch. Elasticsearch suits best for our case than Solr. with regards Ranjith Venkatesan -- View this message in context: http://lucene.472066.n3.nabble.com/Collection-loadOnStartup-tp4082

solr parallel update and total indexing Issue

2014-04-23 Thread ~$alpha`
There is a bis issue in solr parallel update and total indexing Total Import syntax (working) dataimport?command=full-import&commit=true&optimize=true Update syntax(working) solr/update?softCommit=true' -H 'Content-type:application/json' -d '[{"id":"1870719","column":{"set":11

Re: Solr How to sorting suggestions by sales

2014-04-23 Thread Xelion
Thank you very much to both of you for having responded to me. For "iorixxx": With the guides suggested by you I could not get an autocomplete as I wanted. I was trying to do an autocomplete like Google. For "Michael Sokolov-3": For now I am following your suggestion, that I am creating a doc

RE: Apache Solr 3.6.

2014-04-23 Thread Suresh Soundararajan
Vignesh, Update the fl parameter with the keyword field you defined in your schema file which will return the keywords attached to the document. Thanks, SureshKumar.S From: vignesh Sent: Wednesday, April 23, 2014 1:04 PM To: solr-user@lucene.apache.org Sub

Apache Solr 3.6.

2014-04-23 Thread vignesh
Hi Team, I am Vignesh and working in Apache Solr 3.6 for my project. Kindly provide me a solution for the post which I have given below. Example 1: Keyword :gardens and the output in JSON format. { "responseHeader":{ "status":0, "QTime":0, "