full garbage collection about upgraded the solr version to 5.3.0

2015-10-27 Thread 殷亚云
HI Recently, I upgraded the solr version in our server, from 4.7.2 to 5.3 .0 . Through the pressure test, I found that full garbage collection is becoming very frequent in the 5.3 version. I noticed that in BooleanScorer. < init >, TermWeight scorer with frequent memory

Re: Highlighting content field problem when using JiebaTokenizerFactory

2015-10-27 Thread Zheng Lin Edwin Yeo
Hi Scott, Thank you for providing the links and references. Will look through them, and let you know if I find any solutions or workaround. Regards, Edwin On 27 October 2015 at 11:13, Scott Chu wrote: > > Take a look at Michael's 2 articles, they might help you

Getting error on importing JSON file

2015-10-27 Thread Prathmesh Gat
Hi, Using Solr Ver 4.10, when we try to import the attached JSON we get an error saying: { "responseHeader": { "status": 400, "QTime": 1 }, "error": { "msg": "Error parsing JSON field value. Unexpected OBJECT_START", "code": 400 } } And when we try to send the file via curl: curl

Re: Getting error on importing JSON file

2015-10-27 Thread Upayavira
Solr won't index arbitrary json. Please research the format that solr expects. Upayavira On Tue, Oct 27, 2015, at 07:23 AM, Prathmesh Gat wrote: > Hi, > > Using Solr Ver 4.10, when we try to import the attached JSON we get an > error saying: > { "responseHeader": { "status": 400, "QTime": 1 },

Many mapping files

2015-10-27 Thread fabigol
Hi, I already posted on my subject that helped me a lot. I recover a solr project but the person is gone. There are several configuration files / mapping (base / Solr) What interest do that? thanks for your help -- View this message in context:

Nested document limitation

2015-10-27 Thread Midas A
Hi all, Is there any limitation of nested document in solr . Can we have any DIH(data import handler ) plugin for solr . Regards, Abhishek

Re: Split shard onto new physical volumes

2015-10-27 Thread Nikolay Shuyskiy
Den 2015-10-22 17:54:44 skrev Shawn Heisey : On 10/22/2015 8:29 AM, Nikolay Shuyskiy wrote: I imagined that I could, say, add two new nodes to SolrCloud, and split shard so that two new shards ("halves" of the one being split) will be created on those new nodes. Right now

Zookeeper ACL issue when using Solr 5.3.1 to connect it

2015-10-27 Thread diyun2008
Following the guide: https://cwiki.apache.org/confluence/display/solr/ZooKeeper+Access+Control Setting solr.xml and solr.in.sh with : ... ... org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider

Re: CloudSolrClient query /admin/info/system

2015-10-27 Thread Alan Woodward
Hi Kevin, This looks like a bug in CSC - could you raise an issue? Alan Woodward www.flax.co.uk On 26 Oct 2015, at 22:21, Kevin Risden wrote: > I am trying to use CloudSolrClient to query information about the Solr > server including version information. I found /admin/info/system and it >

Re: Split shard onto new physical volumes

2015-10-27 Thread Upayavira
On Tue, Oct 27, 2015, at 10:50 AM, Nikolay Shuyskiy wrote: > Den 2015-10-22 17:54:44 skrev Shawn Heisey : > > > On 10/22/2015 8:29 AM, Nikolay Shuyskiy wrote: > >> I imagined that I could, say, add two new nodes to SolrCloud, and split > >> shard so that two new shards

Re: Many mapping files

2015-10-27 Thread Gora Mohanty
On 27 October 2015 at 13:22, fabigol wrote: > Hi, > I already posted on my subject that helped me a lot. I recover a solr > project but the person is gone. > There are several configuration files / mapping (base / Solr) > What interest do that? > thanks for your help

Re: Split shard onto new physical volumes

2015-10-27 Thread Nikolay Shuyskiy
On Tue, Oct 27, 2015, at 10:50 AM, Nikolay Shuyskiy wrote: Den 2015-10-22 17:54:44 skrev Shawn Heisey : On 10/22/2015 8:29 AM, Nikolay Shuyskiy wrote: >> I imagined that I could, say, add two new nodes to SolrCloud, and split >> shard so that two new shards ("halves" of

Re: Two seperate intance of Solr on the same machine

2015-10-27 Thread Steven White
How do I specify a different log directory by editing "log4j.properties"? Steve On Mon, Oct 26, 2015 at 9:08 PM, Pushkar Raste wrote: > It depends on your case. If you don't mind logs from 3 different instances > inter-mingled with each other you should be fine. > You

Re: Two seperate intance of Solr on the same machine

2015-10-27 Thread Steven White
That's what I'm doing using "-s" to instruct each instance of Solr where the data is. Steve On Tue, Oct 27, 2015 at 12:52 AM, Jack Krupansky wrote: > Each instance should be installed in a separate directory. IOW, don't try > running multiple Solr processes for the

Re: Nested document limitation

2015-10-27 Thread Erick Erickson
You really have to ask a specific question. What do you want to _do_ with your nested documents? A DIH plugin for Solr do do what? You might review: http://wiki.apache.org/solr/UsingMailingLists Best, Erick On Tue, Oct 27, 2015 at 1:20 AM, Midas A wrote: > Hi all, > > Is

Re: Solr hard commit

2015-10-27 Thread Erick Erickson
bq: So, the updated file(s) on the disk automatically read into memory as they are Memory mapped? Not quite sure why you care, curiosity or is there something you're trying to accomplish? The contents of the index's segment files are read into virtual memory by MMapDirectory as needed to satisfy

Re: Can not resolve the webdav path

2015-10-27 Thread Erick Erickson
Probably Alfresco support. There's nothing in that stack trace that looks like a Solr or Lucene issue, and I wouldn't know where to start understanding the Alfresco code. Best, Erick On Tue, Oct 27, 2015 at 7:12 AM, wrote: > > When we are trying to access content from

Re: Solr hard commit

2015-10-27 Thread Rallavagu
On 10/27/15 8:43 AM, Erick Erickson wrote: bq: So, the updated file(s) on the disk automatically read into memory as they are Memory mapped? Yes. Not quite sure why you care, curiosity or is there something you're trying to accomplish? This is out of curiosity. So, I can get better

Using books.json in solr

2015-10-27 Thread Salonee Rege
Hello, We are trying to query the books.json that we have posted to solr. But when we try to specfically query it on genre it does not return a complete json with valid key-value pairs. Kindly help. *Salonee Rege* USC Viterbi School of Engineering University of Southern California Master of

Re: Using books.json in solr

2015-10-27 Thread Erik Hatcher
Salonee - attachments generally do not pass through the solr-user list. If you added a field, did you then *reindex* the data? And what was the query you gave? Just q=fantasy may not be good enough (see debug=true output and what the query was parsed to, in particular what fields were

Re: Using books.json in solr

2015-10-27 Thread Sameer Maggon
Hi Salonee, can you post the query and your schema file too? Thanks, -- *Sameer Maggon* www.measuredsearch.com Solr Cloud Hosting | Managed Services | Solr Consulting On Tue, Oct 27, 2015 at 10:44 AM, Salonee Rege wrote: > Hello, > We are

Re: Using books.json in solr

2015-10-27 Thread Rallavagu
Could you please share your query? You could use "wt=json" query parameter to receive JSON formatted results if that is what you are looking for. On 10/27/15 10:44 AM, Salonee Rege wrote: Hello, We are trying to query the books.json that we have posted to solr. But when we try to

Re: Nested document limitation

2015-10-27 Thread Mikhail Khludnev
On Tue, Oct 27, 2015 at 11:20 AM, Midas A wrote: > Hi all, > > Is there any limitation of nested document in solr . > there are a plenty of them > > Can we have any DIH(data import handler ) plugin for solr . > mind child="true" at

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
{ "id" : "978-1423103349", "cat" : ["book","paperback"], "name" : "The Sea of Monsters", "author" : "Rick Riordan", "series_t" : "Percy Jackson and the Olympians", "sequence_i" : 2, "genre_s" : "fantasy", "inStock" : true, "price" : 6.49, "pages_i" : 304

Re: Using books.json in solr

2015-10-27 Thread Sameer Maggon
Hi Salonee, I believe you missed adding the query screenshot? Sameer. On Tue, Oct 27, 2015 at 10:57 AM, Salonee Rege wrote: > Please find attached the following books.json which is in the example-docs > file for your reference. And a screenshot of querying it on the field >

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Please find attached the following books.json which is in the example-docs file for your reference. And a screenshot of querying it on the field fantasy for genre key. Thanks for the help. *Salonee Rege* USC Viterbi School of Engineering University of Southern California Master of Computer

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Hello *Salonee Rege* USC Viterbi School of Engineering University of Southern California Master of Computer Science - Student Computer Science - B.E salon...@usc.edu *||* *619-709-6756* On Tue, Oct 27, 2015 at 11:06 AM, Sameer Maggon wrote: > Hi Salonee, > > I

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Thanks . We tried genre_s:fantasy and it worked. Thank you for the help. We were stuck on this for a long time. Another question is that when we query the value for the author Rick it returns the JSON without having to specify author:Rick . Is there any specific reason for this? Will we have to do

Performance degradation with two collection on same sole instance

2015-10-27 Thread SolrUser1543
we have a large solr cloud , with one collection and no replicas . Each machine has one solr core . Recently we decided to add a new collection , based on same schema , so now each solr instance has two cores . First collection has very big index , but the new one has only several hundreds of

Solr collection alias - how rank is affected

2015-10-27 Thread SolrUser1543
How is document ranking is affected when using a collection alias for searching on two collections with same schema ? is it affected at all ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-collection-alias-how-rank-is-affected-tp4236776.html Sent from the Solr -

Re: Solr hard commit

2015-10-27 Thread Erick Erickson
Hmm, the tlog. AFAIK, that's because of "real time get" (Yonik/Mark/Whoever, please correct if wrong). This is a feature where when fetching a document as the result of a search it insures that you get the most recent version whether it's been committed or not. The tlog isn't relevant for

Re: Solr collection alias - how rank is affected

2015-10-27 Thread Scott Stults
Collection statistics aren't shared between collections, so there's going to be a difference. However, if the distribution is fairly random you won't notice. On Tue, Oct 27, 2015 at 3:21 PM, SolrUser1543 wrote: > How is document ranking is affected when using a collection

Sold MiniSolrCloudCluster Issue

2015-10-27 Thread Madhire, Naveen
Hi, I am using MiniSolrCloudCluster class in writing unit test cases for testing the solr application. Looks like there is a HTTPClient library mismatch with the solr version and I am getting the below error, java.lang.VerifyError: Bad return type Exception Details: Location:

Using Nutch Segments

2015-10-27 Thread Salonee Rege
We have crawled data using Nutch and now we want to post the nutch segments to Solr to index that. We are following this link https://wiki.apache.org/nutch/bin/nutch%20solrindex.But how to check what to query.As we are directly posting the JSON of the Nutch segments to solr.Kindly help. Thanks

Re: Solr hard commit

2015-10-27 Thread Erick Erickson
yep. Although I won't guarantee that the tlog won't be MMapped even if this is turned off. On Tue, Oct 27, 2015 at 4:21 PM, Rallavagu wrote: > Is it related to this config? > > >

Re: Two seperate intance of Solr on the same machine

2015-10-27 Thread Pushkar Raste
add "-Dsolr.log=" to your command line On 27 October 2015 at 08:13, Steven White wrote: > How do I specify a different log directory by editing "log4j.properties"? > > Steve > > On Mon, Oct 26, 2015 at 9:08 PM, Pushkar Raste > wrote: > > > It

Re: Solr hard commit

2015-10-27 Thread Rallavagu
Is it related to this config?

Re: replica recovery

2015-10-27 Thread Brian Scholl
Both are excellent points and I will look to implement them. Particularly I wonder if a respectable increase to the numRecordsToKeep param could solve this problem entirely. Thanks! > On Oct 27, 2015, at 20:50, Jeff Wartes wrote: > > > On the face of it, your

replica recovery

2015-10-27 Thread Brian Scholl
Hello, I am experiencing a failure mode where a replica is unable to recover and it will try to do so forever. In writing this email I want to make sure that I haven't missed anything obvious or missed a configurable option that could help. If something about this looks funny, I would really

Re: replica recovery

2015-10-27 Thread Erick Erickson
Brian: Two things come to mind here: 1> Even a partial index is better than none. Let's say we have a leader and follower. Follower goes offline and thus out of date. Follower comes back up and sees it needs to replicate and deletes the index as the first step. At this very instant someone

RE: Solr collection alias - how rank is affected

2015-10-27 Thread Markus Jelsma
Hello - regarding fairly random/smooth distribution, you will notice it for sure. A solution there is to use distributed collection statistics. On top of that you might want to rely on docCount, not maxDoc inside your similarity implementation, because docCount should be identical in both

Re: replica recovery

2015-10-27 Thread Brian Scholl
Whoops, in the description of my setup that should say 2 replicas per shard. Every server has a replica. > On Oct 27, 2015, at 20:16, Brian Scholl wrote: > > Hello, > > I am experiencing a failure mode where a replica is unable to recover and it > will try to do so

Re: replica recovery

2015-10-27 Thread Jeff Wartes
On the face of it, your scenario seems plausible. I can offer two pieces of info that may or may not help you: 1. A write request to Solr will not be acknowledged until an attempt has been made to write to all relevant replicas. So, B won’t ever be missing updates that were applied to A, unless

Re: CloudSolrClient query /admin/info/system

2015-10-27 Thread Kevin Risden
Created https://issues.apache.org/jira/browse/SOLR-8216 Kevin Risden Hadoop Tech Lead | Avalon Consulting, LLC M: 732 213 8417 LinkedIn | Google+ | Twitter

Can not resolve the webdav path

2015-10-27 Thread espeake
When we are trying to access content from our 5.0.2 alfresco install we get the a Status 500 - No bean named 'webClientConfigService' is defined The stack trace from the catalina.out log looks like this. 2015-10-27 09:00:29,911 WARN [app.servlet.BaseServlet] [http-nio-8080-exec-5] Failed to