Re: Solr round ratings to nearest integer value

2013-08-01 Thread Thyagaraj
After discussion I came to know that I want the second point... 2. Query to match only rounded integer values? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-round-ratings-to-nearest-integer-value-tp4081833p4082138.html Sent from the Solr - User mailing list archive

Re: Solr round ratings to nearest integer value

2013-08-01 Thread Thyagaraj
Hello Jack Krupansky-2, Can I have all the 3 if you don't mind?, if it's not over work for you because I'm not sure exactly. Till then I'll discuss with one of my developer. Thank you for your interest! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-round-ratings-

Encountered invalid class name

2013-08-01 Thread anpm1989
Hello everyone, I am a newbie with Solr and J2E server. I trying to deploy Solr 4 to Jboss-as-7.1.1.Final. Every thing is ok, i can go to http://localhost:8080/solr without problem. But i see somethings happen in console: JBAS015893: Encountered invalid class name 'org.apache.hadoop.hdfs.DFSClien

Re: SolrCloud separate indexer and Searcher

2013-08-01 Thread Shawn Heisey
On 8/1/2013 8:50 PM, Prasi S wrote: > CAn you pls elaborate on what old-style master/slave mean? Does it mean > that we can have separate indexer and searcher. With master/slave, you have one Solr instance that's your master. All indexing happens on this server. The other instance(s) replicate f

Re: debian package for solr with jetty

2013-08-01 Thread Yago Riveiro
Some time ago a found this https://github.com/LucidWorks/solr-fabric/blob/master/solr-fabric-guide.md , Instead of puppet or chef (I don't know if it is a requirement) it is developed with fabric. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, August 2, 20

Re: SolrCloud separate indexer and Searcher

2013-08-01 Thread Prasi S
Erick, CAn you pls elaborate on what old-style master/slave mean? Does it mean that we can have separate indexer and searcher. On Thu, Aug 1, 2013 at 8:42 PM, Erick Erickson wrote: > To add to what Shawn said, do note that Solr 4.x can > operate either in old-style master/slave mode or > SolrClo

Re: debian package for solr with jetty

2013-08-01 Thread Alexandre Rafalovitch
Well, it is one of the requests with a couple of vote on the Solr Usability Contest: https://solrstart.uservoice.com/forums/216001-usability-contest/suggestions/4249809-puppet-chef-configuration-to-automatically-setup-s So, if somebody with the knowledge of those tools could review the space and

Re: debian package for solr with jetty

2013-08-01 Thread Michael Della Bitta
There should be at least a good Chef recipe, since Chef uses Solr internally. I'm not using anything of theirs, since we've thus far been a Tomcat shop. If nothing exists, I should whip something up. On Aug 1, 2013 3:06 PM, "Alexandre Rafalovitch" wrote: > And are there good chef/puppet/etc rules

Re: Data Import Handler OR Solrj to index existing data

2013-08-01 Thread Jack Krupansky
Consider running Apache ManifoldCF local to the database and then remote to Solr. Or, export from the database to a local CSV file and then carry that over the firewall and import into Solr. -- Jack Krupansky -Original Message- From: payalsharma Sent: Thursday, August 01, 2013 7:50

Data Import Handler OR Solrj to index existing data

2013-08-01 Thread payalsharma
Hi All, It has been found that DIH might not suitable to index existing data from DB due to security reasons as like the security people WILL NOT “just open the database for the IP address of the Solr indexer. Is it true, what is preferable. Please let me know on this. Thanks in advance. --

Re: Sharding with a SolrCloud

2013-08-01 Thread Mark Miller
On Jul 31, 2013, at 11:45 AM, Erick Erickson wrote: > node1 then queries each shard for the docs hosted on those shards. We might consider handling that if it's the only issue. It may not end up making sense, but I think we should always look into allowing requests to any node in the cluster

Re: Sharding with a SolrCloud

2013-08-01 Thread Mark Miller
On Jul 31, 2013, at 11:01 AM, Oliver Goldschmidt wrote: > Isn't Solr Cloud acting like one solr > server? The indices have to be maintained seperately - can't I just > continue using them as shards and get one result list from both of them > (thats how I did it before they wanted to switch to So

Re: Solr 4.1 default commit mode

2013-08-01 Thread Shawn Heisey
On 8/1/2013 3:21 PM, Aditya Sakhuja wrote: Can someone please confirm what is the default "commit" type for solrcloud 4.1 As per https://cwiki.apache.org/confluence/display/solr/UpdateHandlers+in+SolrConfig, looks like softcommit is false ( which means every index update triggers an IO ). Appar

Re: Measuring SOLR performance

2013-08-01 Thread Roman Chyla
On Thu, Aug 1, 2013 at 6:11 PM, Shawn Heisey wrote: > On 8/1/2013 2:08 PM, Roman Chyla wrote: > >> Hi, here is a short post describing the results of the yesterday run with >> added parameters as per Shawn's recommendation, have fun getting confused >> ;) >> >> http://29min.wordpress.com/**2013/0

Re: Measuring SOLR performance

2013-08-01 Thread Shawn Heisey
On 8/1/2013 2:08 PM, Roman Chyla wrote: Hi, here is a short post describing the results of the yesterday run with added parameters as per Shawn's recommendation, have fun getting confused ;) http://29min.wordpress.com/2013/08/01/measuring-solr-performance-ii/ I am having a very difficult time

Re: Group and performing statistics on groups

2013-08-01 Thread Paul Masurel
https://issues.apache.org/jira/browse/SOLR-2931 Please add a word on the JIRA describing your mean and keep an eye on the ticket. I might release such a plugin any time soon. Regards, Paul On Fri, Jul 26, 2013 at 4:16 PM, Otis Gospodnetic < otis.gospodne...@gmail.com> wrote: > Hi, > > I thin

RE: replication getting stuck on a file

2013-08-01 Thread Petersen, Robert
I have seen this happen before in our 3.6.1 deployment. It seemed related to high JVM memory consumption on the server when our index got too big (ie we were close to getting OOMs). That is probably why restarting solr sort of fixes it, assuming the file it is stuck on is the final file and i

Solr 4.1 default commit mode

2013-08-01 Thread Aditya Sakhuja
Hi, Can someone please confirm what is the default "commit" type for solrcloud 4.1 As per https://cwiki.apache.org/confluence/display/solr/UpdateHandlers+in+SolrConfig, looks like softcommit is false ( which means every index update triggers an IO ). Apparently this is application for future sol

Re: solr postfilter question

2013-08-01 Thread Rohit Harchandani
Basically i see it is looking up the cache and getting a hit, but it still seems to be collecting all the documents again. Thanks, Rohit On Thu, Aug 1, 2013 at 4:37 PM, Rohit Harchandani wrote: > Hi, > I did finally manage to this. I get all the documents in the post filter > and then call coll

Re: replication getting stuck on a file

2013-08-01 Thread Rohit Harchandani
I am facing this problem in solr 4.0 too. Its definitely not related to autowarming. It just gets stuck while downloading a file and there is no way to abort the replication except restarting solr. On Wed, Jul 10, 2013 at 6:10 PM, adityab wrote: > I have seen this in 4.2.1 too. > Once replicati

Re: Solr PolyField

2013-08-01 Thread Luís Portela Afonso
Oh my god. Thanks for notice. The field name its wrong. It should be enclosure_type. I'm so sorry. On Aug 1, 2013, at 6:33 PM, Jack Krupansky wrote: > Are you sure the “enclosure_title” field is populated? > > Have you updated the request handler? > > -- Jack Krupansky > > From: Luís Portela

Re: solr postfilter question

2013-08-01 Thread Rohit Harchandani
Hi, I did finally manage to this. I get all the documents in the post filter and then call collect on the each ones that match the filter criteria. But for some reason, it does not seem to hit the query results cache (equals succeeds and the hashcode is good too)? Not sure what I am missing here? T

Customize Velocity Output, Utility Class or Custom Tool

2013-08-01 Thread O. Olson
Hi, I am using Solr with the VelocityResponseWriter. http://wiki.apache.org/solr/VelocityResponseWriter I am wondering if there is anyway to add my own Utility Class i.e. how do I put it in the Velocity Context. Or as an alternative to add my own Custom Tool? By the way, where is velocity

Re: Skip Indexing Certain Files on Purpose

2013-08-01 Thread Jack Krupansky
You could have a StatelessScriptUpdate processor detect the file type and then returns false, which aborts the update. I'll be sure to add such an example to the next early access release of my book! -- Jack Krupansky -Original Message- From: stone2dbone Sent: Thursday, August 01,

Re: Measuring SOLR performance

2013-08-01 Thread Roman Chyla
Hi, here is a short post describing the results of the yesterday run with added parameters as per Shawn's recommendation, have fun getting confused ;) http://29min.wordpress.com/2013/08/01/measuring-solr-performance-ii/ roman On Wed, Jul 31, 2013 at 12:32 PM, Roman Chyla wrote: > I'll try to

Re: How to uncache a query to debug?

2013-08-01 Thread jimtronic
Thanks. I'd rather not turn off caching completely because it only seems to show up in production and I don't want to turn reboot all the solr processes on each node. Jim On Thu, Aug 1, 2013 at 12:30 PM, Roman Chyla [via Lucene] < ml-node+s472066n4082014...@n3.nabble.com> wrote: > When you set y

Re: How to uncache a query to debug?

2013-08-01 Thread jimtronic
Thanks, but that doesn't seem to do much. I've added it to all four of the fq params and the q param, but it only makes it marginally slower -- like 50 ms instead of 2 ms. There appears to be a deeper or more widely encompassing cache at work here. Jim On Thu, Aug 1, 2013 at 2:49 PM, Mikhail Khlu

Re: How to uncache a query to debug?

2013-08-01 Thread Mikhail Khludnev
Hello Jim, Does q={!cache=false}lorem ipsum works for you? On Thu, Aug 1, 2013 at 9:12 PM, jimtronic wrote: > I have a query that runs slow occasionally. I'm having trouble debugging it > because once it's cached, it runs fast -- under 10 ms. But throughout the > day it occasionally takes up t

Re: debian package for solr with jetty

2013-08-01 Thread Alexandre Rafalovitch
And are there good chef/puppet/etc rules for the public use? I could not find when I looked. Regards, Alex On 1 Aug 2013 11:32, "Michael Della Bitta" < michael.della.bi...@appinions.com> wrote: > Hi Manasi, > > We use Chef for this type of thing here at my current job. Have you > consider

Re: SolrCloud separate indexer and Searcher

2013-08-01 Thread Erick Erickson
To add to what Shawn said, do note that Solr 4.x can operate either in old-style master/slave mode or SolrCloud... Best Erick On Thu, Aug 1, 2013 at 10:34 AM, Shawn Heisey wrote: > On 8/1/2013 4:51 AM, Prasi S wrote: > > i am using solr 4.0 for indexing db content to a cloud . Currently i have

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-08-01 Thread Erick Erickson
What are the memory parameters you start Solr with? The Solr admin page will tell you how much memory the JVM has. Also, cut/paste the queries you're running when you see this. Best Erick On Thu, Aug 1, 2013 at 9:50 AM, Grzegorz Sobczyk wrote: > after node starts in log I have only few reques

Skip Indexing Certain Files on Purpose

2013-08-01 Thread stone2dbone
I'm using Nutch 1.6 to retrieve metadata from crawled documents (e.g. .doc, .ppt, .pdf, etc.) for indexing by Solr 4.0. Several of the crawled files have no value or a junk value for certain metatags. Is there a way to force Solr to skip indexing of documents where, say metatag.title is empty or me

Re: Solr round ratings to nearest integer value

2013-08-01 Thread Jack Krupansky
Do you want: 1. The indexed value to be rounded? 2. Query to match only rounded integer values? 3. Return value to be rounded? Which of those three is your use case. All three are possible. -- Jack Krupansky -Original Message- From: Thyagaraj Sent: Thursday, August 01, 2013 2:37 AM T

Re: Solr PolyField

2013-08-01 Thread Jack Krupansky
Are you sure the “enclosure_title” field is populated? Have you updated the request handler? -- Jack Krupansky From: Luís Portela Afonso Sent: Thursday, August 01, 2013 1:23 PM To: solr-user@lucene.apache.org Subject: Re: Solr PolyField So i have merged the two chains in one, and this is not

Re: How to uncache a query to debug?

2013-08-01 Thread Roman Chyla
When you set your cache (solrconfig.xml) to size=0, you are not using a cache. so you can debug more easily roman On Thu, Aug 1, 2013 at 1:12 PM, jimtronic wrote: > I have a query that runs slow occasionally. I'm having trouble debugging it > because once it's cached, it runs fast -- under 10

Re: Keep existing field values that are not specified for re-added documents?

2013-08-01 Thread Chris Hostetter
: are added. Since documents may be re-indexed or new documents added at any : time, trying to synchronize populating these values with content indexing is : not an option. We also want to avoid forcing all the indexers to change how : they index. We are using Solr 3.6. : : What we would like

Re: Solr PolyField

2013-08-01 Thread Luís Portela Afonso
So i have merged the two chains in one, and this is not copying. Hum… My solrconfig.xml enclosure_title enclosure I try too with the UUIDUpdateProcessorFactory commented and nothing happens. Weird. On Aug 1, 2013, at 5:37 PM, "Jack Krupansky" wrote: > H

Re: Solr 4.3.1 only accepts UTF-8 encoded queries?

2013-08-01 Thread Shawn Heisey
On 7/27/2013 5:00 PM, Shawn Heisey wrote: On 7/26/2013 2:03 PM, Gustav wrote: The problem here is that in my client's application, the query beign encoded in iso-8859-1 its a *must*. So, this is kind of a trouble here. I just dont get how this encoding could work on queries in version 3.5, but i

How to uncache a query to debug?

2013-08-01 Thread jimtronic
I have a query that runs slow occasionally. I'm having trouble debugging it because once it's cached, it runs fast -- under 10 ms. But throughout the day it occasionally takes up to 3 secs. It seems like it could be one of the following: 1. My autoCommit (30 and openSearcher=false) and softAut

Re: uniqueKey: string vs. long integer

2013-08-01 Thread Ali, Saqib
I think I have found an issue with using the long integer for uniqueKey*— *Document routing using ! notation will not work with a long integer uniqueKey :( Thanks Jack and Robi On Thu, Aug 1, 2013 at 10:05 AM, Petersen, Robert < robert.peter...@mail.rakuten.com> wrote: > Hi guys, > > We have u

RE: uniqueKey: string vs. long integer

2013-08-01 Thread Petersen, Robert
Hi guys, We have used an integer as our unique key since solr 1.3 with no problems at all. We never thought of using anything else because our solr unique key is based upon our product sku data base field which is defined as an integer also. We're on solr 3.6.1 currently. Thanks Robi -

Solr Split Shard - Document loss and down time

2013-08-01 Thread Ranjith Venkatesan
We are using solr 4.3.0 for our search application. We will be splitting shard at run time. I simulated a scenario, let me explain that first. I am indexing some 2 docs via solrj. At the same time i m triggering my split shard command. And also, I am killing the leader node when both the above

Re: Solr PolyField

2013-08-01 Thread Jack Krupansky
Hmmm... not sure what happens if you have two update chains specified: multiple-clones fixIndexedValues You need to merge them into one. -- Jack Krupansky From: Luís Portela Afonso Sent: Thursday, August 01, 2013 12:26 PM To: solr-user@lucene.apache.org Subject: Re: Solr PolyField

Re: uniqueKey: string vs. long integer

2013-08-01 Thread Jack Krupansky
Although I cringe at the thought of anybody using anything other than a string for the unique key for a document, I can't point to any part of Solr that will absolutely fail. I wouldn't be surprised if there weren't a few nooks and crannies in Solr that might depend on the type of the ID, or at

Re: Solr PolyField

2013-08-01 Thread Luís Portela Afonso
Hi, I have tried the solr.CloneFieldUpdateProcessorFactory sugested in the pool but the fields are not copied. My dataconfig.xml My schema.xml My solrconfig.xml enclosure_title enclosure and rss-data-config.xml

Keep existing field values that are not specified for re-added documents?

2013-08-01 Thread brian4
We are using solr for offering search for our website. We want to add an anchor text field value (from incoming links to a webpage), a link popularity score field value, and other similar field values, that are computed separately from the programs page owners use to index their documents to Solr.

uniqueKey: string vs. long integer

2013-08-01 Thread Ali, Saqib
We have an application that was developed by a third party. It uses uniqueKey that is a long integer instead of a string. Will there be any repercussions of using a long integer instead of string for the uniqueKey? Thanks! :)

Re: Solr round ratings to nearest integer value

2013-08-01 Thread Raymond Wiker
On Aug 1, 2013, at 17:36 , Thyagaraj wrote: > Hello Raymond Wiker, > > I just want to change the value while returning from the index (i.e, at > query time). I tried the one like below but it's not working and showing > same fraction value instead any nearest integer, > > http://192.168.1.10:808

Re: Measuring SOLR performance

2013-08-01 Thread Roman Chyla
Hi Bernd, On Thu, Aug 1, 2013 at 4:07 AM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > Yes, UseNuma is only for Parallel Scavenger garbage collector and only > for Solaris 9 and higher and Linux kernel 2.6.19 and glibc 2.6.1. > And it performs with 64-bit better than 32-bit. > So no

Re: Measuring SOLR performance

2013-08-01 Thread Roman Chyla
Dmitry, Can you post the entire invocation line? roman On Thu, Aug 1, 2013 at 7:46 AM, Dmitry Kan wrote: > Hi Roman, > > When I try to run with -q > /home/dmitry/projects/lab/solrjmeter/queries/demo/demo.queries > > here what is reported: > Traceback (most recent call last): > File "solrjmete

Re: Solr round ratings to nearest integer value

2013-08-01 Thread Thyagaraj
Hello Raymond Wiker, I just want to change the value while returning from the index (i.e, at query time). I tried the one like below but it's not working and showing same fraction value instead any nearest integer, http://192.168.1.10:8080/solr/core10/select?q=*%3A*&rint%28ratings%29&wt=xml Did

Re: debian package for solr with jetty

2013-08-01 Thread Michael Della Bitta
Hi Manasi, We use Chef for this type of thing here at my current job. Have you considered something like it? Other ones to look at are Puppet, CFEngine, Salt, and Ansible. Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influ

RE: Autowarming last 15 days data

2013-08-01 Thread Cool Techi
Thanks Shwan, get the point. Regards, Ayush > Date: Wed, 31 Jul 2013 09:46:49 -0600 > From: s...@elyograg.org > To: solr-user@lucene.apache.org > Subject: Re: Autowarming last 15 days data > > On 7/31/2013 9:21 AM, Cool Techi wrote: > > Would it make sense if we open a newSearcher with the last

Re: Stored Field Compression for Solr 4.4

2013-08-01 Thread Shawn Heisey
On 8/1/2013 8:31 AM, Kuchekar wrote: > Hi, > > Are there any changes in Solr 4.4 version in regards to Stored fields > compression, compared to Solr 4.1. > > My understanding is that Solr 4.1 by default provides compression of stored > fields compared to Solr 4.0 and its earlier versions.

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Shawn Heisey
On 8/1/2013 7:24 AM, Prasi S wrote: > I am rephrasing my question, > > Currently what i haev is > > Solr 8080 -> Shard1Shard2- Replica > Solr 9090 -> Shard 2 Shard 1 - Replica > > Can we have something like > > Solr 8080 -> Shard 1, Shard 2 > solr 9090 -> Shard2-Replica , Shard1- R

Re: Unexpected character '<' (code 60) expected '='

2013-08-01 Thread Shawn Heisey
On 8/1/2013 1:41 AM, Vineet Mishra wrote: > I am using Solr 3.5 with the posting XML file size of just 1Mb. I'm guessing that you need to increase your POST buffer size limit in Tomcat to 2MB or larger. Tomcat documentation should help you with that. Thanks, Shawn

Re: SolrCloud separate indexer and Searcher

2013-08-01 Thread Shawn Heisey
On 8/1/2013 4:51 AM, Prasi S wrote: > i am using solr 4.0 for indexing db content to a cloud . Currently i have > two solr isntances running in separate app servers. Can I have a one solr > separately as indexer instance and another as a searcher. > > This is possible in Master-Slave but does this

Re: Solr 4.2.1 update to 4.3/4.4 problem

2013-08-01 Thread Jack Krupansky
Your "bf" parameter is not using the proper syntax. It is supposed to be a function query: http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29 Or maybe you wanted to use "bq"? But that takes terms, not fields. There have been changes to EdgeNGramFilterFactory. Add de

Re: Solr 4.2.1 update to 4.3/4.4 problem

2013-08-01 Thread Shawn Heisey
On 8/1/2013 4:35 AM, vehovmar wrote: > I have serious problems when upgrading to new solr 4.3/4.4 Search results do > not make sense. I reindexed everithing and I'm still getting wierd result. I > have pretty complicated config, using edismax requestHandler with boosting > > name^2.0 man^1.0 > na

Stored Field Compression for Solr 4.4

2013-08-01 Thread Kuchekar
Hi, Are there any changes in Solr 4.4 version in regards to Stored fields compression, compared to Solr 4.1. My understanding is that Solr 4.1 by default provides compression of stored fields compared to Solr 4.0 and its earlier versions. Please correct me if my understanding is wrong. Th

Re: Full Import and Most up to date data

2013-08-01 Thread Shawn Heisey
On 8/1/2013 1:25 AM, deniz wrote: > So lets say that i have some kinda large data to index and it takes around 2 > hours to finish the full import. > > When I start full import at 1pm, what happens if some data in db is updated > at 1:15 or 2pm while full import is still going on? will they be los

Re: solr - please help me arrange my search url

2013-08-01 Thread Jack Krupansky
1. "df" only supports a single field. All but the first will be ignored. 2. "qf" takes a list as a space-delimited string, with optional boost (^n) after each field name. 3. "df" is only used by edismax if "qf" is not present. 3. Your working query uses a different term ("walk") than your other

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-08-01 Thread Grzegorz Sobczyk
after node starts in log I have only few requests: https://gist.github.com/gsobczyk/6131503#file-solr-oom-log this error occurred multiple times On 1 August 2013 15:33, Rafał Kuć wrote: > Hello! > > The exception you've shown tells you that Solr tried to allocate an > array that exceeded heap

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
Thank Rafal. I would check on that mzShardsPerNode.. On Thu, Aug 1, 2013 at 7:06 PM, Rafał Kuć wrote: > Hello! > > Take a look at http://wiki.apache.org/solr/SolrCloud - when creating a > collection you can specify the maxShardsPerNode parameter, which > allows you to control how many shards of

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
Hello! Take a look at http://wiki.apache.org/solr/SolrCloud - when creating a collection you can specify the maxShardsPerNode parameter, which allows you to control how many shards of a given collection is permitted to be placed on a single node. By default it is set to 1, try setting it to 2 when

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-08-01 Thread Rafał Kuć
Hello! The exception you've shown tells you that Solr tried to allocate an array that exceeded heap size. Do you use some custom sorts? Did you send large bulks during the time that the exception occurred? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-08-01 Thread Grzegorz Sobczyk
Today I found in solr logs exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit. At that time memory usage was ~200MB / Xmx3g Env looks like this: 3x standalone zK (Java 7) 3x Solr 4.2.1 on Tomcat (Java 7) Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux One Solr

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
I am rephrasing my question, Currently what i haev is Solr 8080 -> Shard1Shard2- Replica Solr 9090 -> Shard 2 Shard 1 - Replica Can we have something like Solr 8080 -> Shard 1, Shard 2 solr 9090 -> Shard2-Replica , Shard1- Replica On Thu, Aug 1, 2013 at 6:40 PM, Prasi S wrote:

Re: SolrCloud Exception

2013-08-01 Thread Erick Erickson
Note, 4.4 has just been released FYI. Erick On Wed, Jul 31, 2013 at 12:46 PM, Sinduja Rajendran < sindurajendra...@gmail.com> wrote: > Thanks shawn for the reply. I would upgrade to solr 4.3 and check that. > > > > On Wed, Jul 31, 2013 at 4:13 PM, Shawn Heisey wrote: > > > On 7/31/2013 4:27 AM

Re: SolrCloud - Replica 'down'. How to get it back as 'active'? - Solr 4.3.0

2013-08-01 Thread Erick Erickson
Soft commits have no influence on the transaction log. You must do a hard commit (openSearcher=true|false doesn't matter) to truncate the current tlog and start a new one. You're replaying all of your index insertions for the last 14 hours so it might take quite a long time. Best Erick On Wed,

Invalid UTF-8 character 0xfffe during shard update

2013-08-01 Thread Federico Chiacchiaretta
Hi list, on data import from a PostgreSQL db, I get the following error in solr.log: ERROR - 2013-08-01 09:51:00.217; org.apache.solr.common.SolrException; shard update error RetryNode: http://172.16.201.173:8983/solr/archive/:org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
Here when i create a single shard and a replica, then my shard will be on one server and replcia in teh other isn't ? On Thu, Aug 1, 2013 at 6:29 PM, Rafał Kuć wrote: > Hello! > > There is no master - slave in SolrCloud. You can create a collection > that has only a single shard and have one re

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
Hello! There is no master - slave in SolrCloud. You can create a collection that has only a single shard and have one replica. When you send an indexing request it will be forwarded to the leader shard (in your case you want it to be the instance running on 8080), however both Solr instances will

SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
I have a requirement to set solrcloud with 2 instances of Solr( one on 8080 and otehr on 9090 ports respectivey) and a Zookeeper ensembe( 3 modes). Can I have one solr instance as a Master and the other as a replcia of the Master. Because, when i set up a solrcloud and index to one of the solr ru

grouping cache question

2013-08-01 Thread Kempelen Ákos
Hi all, I use result grouping on MatchAllDocsQuery (doc num = 1 million), but the result caching seems not working, the query is still slow second and third time. I tried to set the group.cache.percent parameter, without any effect. If I switch off the grouping, the result is cached ofcourse. Is

Re: Unexpected character '<' (code 60) expected '='

2013-08-01 Thread Vineet Mishra
XML Validation goes good, It does not give any error rather while Running again it goes for a few lakhs of records and then stops saying *SimplePostTool: FATAL: IOException while reading response: java.io.IOException: Incomplete output stream* * * I guess this is the issue of Threads Resource Mana

solr - please help me arrange my search url

2013-08-01 Thread Mysurf Mail
I am still doing something wrong with solr. I am querying with the following parameters http://...:8983/solr/vault/select?q=jump&qf=PackageTag&defType=edismax (meaning I am using edismax and I query on the field PackageTag ) I get nothing. when I dont declare the field and query http://...:89

Re: Measuring SOLR performance

2013-08-01 Thread Dmitry Kan
Hi Roman, When I try to run with -q /home/dmitry/projects/lab/solrjmeter/queries/demo/demo.queries here what is reported: Traceback (most recent call last): File "solrjmeter.py", line 1390, in main(sys.argv) File "solrjmeter.py", line 1309, in main tests = find_tests(options) File

Solr 4.2.1 update to 4.3/4.4 problem

2013-08-01 Thread vehovmar
I have serious problems when upgrading to new solr 4.3/4.4 Search results do not make sense. I reindexed everithing and I'm still getting wierd result. I have pretty complicated config, using edismax requestHandler with boosting name^2.0 man^1.0 name^2.0 man^1.0 users^2 shops^1.5 Schema: (same

SolrCloud separate indexer and Searcher

2013-08-01 Thread Prasi S
i am using solr 4.0 for indexing db content to a cloud . Currently i have two solr isntances running in separate app servers. Can I have a one solr separately as indexer instance and another as a searcher. This is possible in Master-Slave but does this hold good for SorlCloud also? Because from wh

Solr DIH loggig skipped / error documents

2013-08-01 Thread Prasi S
Hi , Im using 4.0 for indexing database content. I have a few doubts here 1. If a document fails during indexing, does indexing proceed? 2. does the faield document get logged in the solr logs? 3. Ho can I reindex the skipped documents once indexing has completed? Please help. Thanks, Prasi

Re: Pagination on grouped results

2013-08-01 Thread Paul Masurel
Let me copy paste an answer I wrote yesterday :) To get the number of groups, you are expected to set set group.ngroups=true. Even then, the result will only give you an upperbound in a distributed environment. To get the exact number of groups, you need to shard along your grouping field. If you

Re: Unexpected character '<' (code 60) expected '='

2013-08-01 Thread Paul Masurel
You can check for your xml validity with xmllint very simply. xmllint Does this return an error? On Thu, Aug 1, 2013 at 9:59 AM, deniz wrote: > Vineet Mishra wrote > > I am using Solr 3.5 with the posting XML file size of just 1Mb. > > > > > > On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey <

Re: TrieField and FieldCache confusion

2013-08-01 Thread Paul Masurel
Thank you very much for your very fast answer and all the pointers. That's what I thought, but then I got confused by the last note http://wiki.apache.org/solr/StatsComponent "TrieFields has to use a precisionStep of -1 to avoid using UnInvertedField

Re: Measuring SOLR performance

2013-08-01 Thread Bernd Fehling
Yes, UseNuma is only for Parallel Scavenger garbage collector and only for Solaris 9 and higher and Linux kernel 2.6.19 and glibc 2.6.1. And it performs with 64-bit better than 32-bit. So no effects for G1. With standard applications CMS is very slightly better than G1 but when it comes to huge he

Pagination on grouped results

2013-08-01 Thread Bruno René Santos
Hello, Is there any way to know how many items will I have after grouping results? I have the total matches without groups and for each group the quantity of items on it, but I cannot find the number of groups I got. Regards -- Bruno René Santos Lisboa - Portugal

Re: solr 4.4 multiple datasource connection

2013-08-01 Thread Carmine Paternoster
Thank you very much Alex, after modify datasource in dataSource it works... 2013/7/31 Alexandre Rafalovitch > On Wed, Jul 31, 2013 at 11:49 AM, Carmine Paternoster > wrote: > > > > > > Try datasource => dataSource in: > > > > Regards, >Alex. > P.s. This check will be (eventually) part of

Re: Unexpected character '<' (code 60) expected '='

2013-08-01 Thread deniz
Vineet Mishra wrote > I am using Solr 3.5 with the posting XML file size of just 1Mb. > > > On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey < > solr@ > > wrote: > >> On 7/31/2013 7:16 AM, Vineet Mishra wrote: >> > I checked the File. . .nothing is there. I mean the formatting is >> correct, >> >

Re: Unexpected character '<' (code 60) expected '='

2013-08-01 Thread Vineet Mishra
I am using Solr 3.5 with the posting XML file size of just 1Mb. On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey wrote: > On 7/31/2013 7:16 AM, Vineet Mishra wrote: > > I checked the File. . .nothing is there. I mean the formatting is > correct, > > its a valid XML file. > > What version of Solr,

Full Import and Most up to date data

2013-08-01 Thread deniz
Hello, I have some questions about full importing. So lets say that i have some kinda large data to index and it takes around 2 hours to finish the full import. When I start full import at 1pm, what happens if some data in db is updated at 1:15 or 2pm while full import is still going on? will t

Re: Solr round ratings to nearest integer value

2013-08-01 Thread Raymond Wiker
You don't say whether you want to change the value in the index, or the value that you return from the index (i.e, at query time). If you want to change the value that you place in the index, you could modify your SQL query to use the ROUND() function on the "ratings" value. For Oracle, you could