Re: Avoid loading Lucene's field cache for certain fields

2013-05-19 Thread J Mohamed Zahoor
I am using Solr 4.2.1 ./zahoor On 20-May-2013, at 11:48 AM, J Mohamed Zahoor wrote: > Hi > > I am trying to avoid loading some fields in Lucene's FieldCache. > > Is there a way to avoid loading certain failed in Lucene's FieldCache. > One way is to declare them multivalued.. > > Is there an

Avoid loading Lucene's field cache for certain fields

2013-05-19 Thread J Mohamed Zahoor
Hi I am trying to avoid loading some fields in Lucene's FieldCache. Is there a way to avoid loading certain failed in Lucene's FieldCache. One way is to declare them multivalued.. Is there any other way? ./zahoor

Re: .skip.autorecovery=Y + restart solr after crash + losing many documents

2013-05-19 Thread Otis Gospodnetic
Hi Gilles, Could you upgrade to 4.3.0 and see if you can reproduce? Otis -- Solr & ElasticSearch Support http://sematext.com/ On Mon, May 13, 2013 at 5:26 PM, Gilles Comeau wrote: > Hi all, > > We write to two same-named cores in the same collection for redundancy, and > are not taking adv

Re: Adding filed in Schema.xml

2013-05-19 Thread Gora Mohanty
On 20 May 2013 08:35, Kamal Palei wrote: > Hi Gora > Thanks for your response. > > > *>>What do you mean by "not taking effect"? You do not seem to have >>>made this clear anywhere in the thread. > * > Basically I user SOLR in drupal environment. In drupal, in configuration > page, there is a link

Re: Adding filed in Schema.xml

2013-05-19 Thread Kamal Palei
Hi Gora Thanks for your response. *>>What do you mean by "not taking effect"? You do not seem to have >>made this clear anywhere in the thread. * Basically I user SOLR in drupal environment. In drupal, in configuration page, there is a link that shows all available index fields. I had added two

Re: Boosting documents with terms derived from clustering - good idea?

2013-05-19 Thread Otis Gospodnetic
Hi, I would take a different approach. Track users' queries and their clicks. Aggregate queries and start thinking of them as tags/labels. Aggregate them and use top N to tag your docs. Alternatively/additionally, extract significant terms and phrases from clicked-to docs and use that to tag you

Re: Spellchecker: Is it possible to return search results with the first suggestion as query string instead of a list of suggestions?

2013-05-19 Thread Otis Gospodnetic
Hi Carlos, There may be a JIRA issue for this, but it's currently not doable as far as I know. But check http://www.sematext.com/products/dym-researcher/ and example of it in action: http://search-lucene.com/?q=queryprarser (oops, typo!) -- if this is the sort of behaviour you are looking for, fe

Re: How To Make Index Backup at SolrCloud?

2013-05-19 Thread Otis Gospodnetic
Hm, did I really say that? What was the context? Because I don't see that in my response below Otis -- Search Analytics - http://sematext.com/search-analytics/index.html SOLR Performance Monitoring - http://sematext.com/spm/index.html On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI wro

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
One point of confusion: Is the compatibility code I hit trying to prohibit the 'str' form when it sees old-fangled cores? Or when the current running version pre-5.0? I hope it's the former. On Sun, May 19, 2013 at 6:47 PM, Shawn Heisey wrote: > On 5/19/2013 4:38 PM, Benson Margulies wrote: >> Sh

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Shawn Heisey
On 5/19/2013 4:38 PM, Benson Margulies wrote: > Shawn, thanks. need any more jiras on this? I don't think so, but if you grab the 4.3 branch or branch_4x and find any bugs, let us know. Thanks, Shawn

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
Shawn, thanks. need any more jiras on this? On May 19, 2013, at 6:37 PM, Shawn Heisey wrote: > On 5/19/2013 11:27 AM, Benson Margulies wrote: >> Starting with the shipped solr.xml, I added a new-style child to >> configure a shared lib, and i was rewarded with: >> >> Caused by: org.apache.solr.

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Shawn Heisey
On 5/19/2013 11:27 AM, Benson Margulies wrote: > Starting with the shipped solr.xml, I added a new-style child to > configure a shared lib, and i was rewarded with: > > Caused by: org.apache.solr.common.SolrException: Should not have found > solr/str[@name='sharedLib'] solr.xml may be a mix of ol

Re: Leader and Replica are Listed Both Replication (Master), There is no Replication (Slave)?

2013-05-19 Thread Shawn Heisey
On 5/19/2013 11:20 AM, Furkan KAMACI wrote: > There is a shard at my Solr 4.2.1 SolrCloud and it consist of two nodes. > One of them is listed as leader at graph. When I look at the cores at admin > page both of them are listed as: I've tried to explain this before. One more time: The replicat

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
Starting with the shipped solr.xml, I added a new-style child to configure a shared lib, and i was rewarded with: Caused by: org.apache.solr.common.SolrException: Should not have found solr/str[@name='sharedLib'] solr.xml may be a mix of old and new style formats. at org.apache.solr.core.ConfigSo

Leader and Replica are Listed Both Replication (Master), There is no Replication (Slave)?

2013-05-19 Thread Furkan KAMACI
There is a shard at my Solr 4.2.1 SolrCloud and it consist of two nodes. One of them is listed as leader at graph. When I look at the cores at admin page both of them are listed as: Replication (Master) Why none of them is listed as: Replication (Slave) ?

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
OK, I found the successor. On Sun, May 19, 2013 at 12:40 PM, Benson Margulies wrote: > I found http://wiki.apache.org/solr/Solr.xml%204.3%20and%20beyond, but > it doesn't mention the successor to sharedLib. > > On Sun, May 19, 2013 at 12:02 PM, Benson Margulies > wrote: >> http://wiki.apache.org

Re: solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
I found http://wiki.apache.org/solr/Solr.xml%204.3%20and%20beyond, but it doesn't mention the successor to sharedLib. On Sun, May 19, 2013 at 12:02 PM, Benson Margulies wrote: > http://wiki.apache.org/solr/ConfiguringSolr > > does not point to any information on solr.xml. > > Given https://issues

solr.xml or its successor in the wiki

2013-05-19 Thread Benson Margulies
http://wiki.apache.org/solr/ConfiguringSolr does not point to any information on solr.xml. Given https://issues.apache.org/jira/browse/SOLR-4791, I'm a bit confused, and I need to set up a sharedLib directory for 4.3.0. I would do some writing or linking if I had some raw material ...

xPath XML-Import

2013-05-19 Thread Benjamin Kern
Hi all, I´m reading XML-Files into Solr. I have the following structure: AA 123456789 BB 987654321 CC 147258369 … How can I read the name with value. The Solr result should look like this. 123456789 987654321 147258369 Any Idea? Than

Re: How To Make Index Backup at SolrCloud?

2013-05-19 Thread Furkan KAMACI
Hi Otis; You said: "which will return a completed on date when your backup is done" which field is that? 2013/4/26 Otis Gospodnetic > You can use the index backup command that's part of index replication, > check the Wiki. > > Otis > Solr & ElasticSearch Support > http://sematext.com/ > On Ap

[Solr 4.2.1] LotsOfCores - Can't query cores with loadOnStartup="true" and transient="true"

2013-05-19 Thread Lyuba Romanchuk
Hi, It seems like in order to query transient cores they must be defined with loadOnStartup="false". I define one core loadOnStartup="true" and transient="false", and another cores to be loadOnStartup="true" and transient="true", and transientCacheSize=Integer.MAX_VALUE. In this case CoreContai

Re: Solr Admin Page Says Leader is Down, Replica is Up, Zookeeper Says Thar They are Both Active

2013-05-19 Thread Furkan KAMACI
This is from my error log: org.apache.solr.common.SolrException: No registered leader was found, collection:collection1 slice:shard1 at org.apache.solr.common.cloud.ZkStateReader.getLeaderRetry(ZkStateReader.java:484) at org.apache.solr.common.cloud.ZkStateReader.getLeaderUrl(ZkStateReader.java:4

Re: Solr Admin Page Says Leader is Down, Replica is Up, Zookeeper Says Thar They are Both Active

2013-05-19 Thread Furkan KAMACI
Hi Mark; I continue my tests and realized that issue. I have 1 leader and 1 replica at each shard. I have killed the leader: * Cloud graph says that *leader has gone ** *(which I expect). However * previous* *none leader still is not a leader ** *(which I didn't expect). * Zookeeper clusterstate

RE: Is payload the right solution for my problem?

2013-05-19 Thread jasimop
I did some experiments but I think I will end up with the doubled disk space. The Problem is the following: I will search in the fulltext (without the xml content), but I need to know the position of the search result in the fulltext (to display) and in the XML data (to get the attributes associa