High cpu and gc time when performing optimization.

2016-07-11 Thread Jason
hi, all. I'm running solr instance with two cores and JVM max heap is 32G. Each core index size is 68G, 61G repectively. I'm always keeping on optimization after update index. BTW, on last week, document update is completed but optimize phase cpu is very high. I think that is because long gc

Re: Query Elevation

2016-07-11 Thread Koji Sekiguchi
Hello, I'm curious, why do you want the particular document to place second, not top, of the result for a particular query? Sorry this isn't the answer for your question, but I think you can implement it rather easy if you study the existing query elevation. Koji On 2016/07/08 19:59,

Re: Core admin: create new core

2016-07-11 Thread Erick Erickson
Well, the easiest way is probably the bin/solr script. Try typing in bin/solr create_core -help Best, Erick On Mon, Jul 11, 2016 at 3:58 PM, ARCbrittany wrote: > creating a little API that takes schema/config as input, > creates the files and then uses the core admin CREATE

Re: Core admin: create new core

2016-07-11 Thread ARCbrittany
creating a little API that takes schema/config as input, creates the files and then uses the core admin CREATE request. Works like a charm. RE/ Can you help or post how you made this API Thank you -- View this message in context:

Re: Analyzing .pos files using luke

2016-07-11 Thread KNitin
Erick, 1. Yes both indices are optimized. They use lucene_40 version for their solr indices. 2. I discovered a bloat on one of the index. I am trying to figure out what might have caused the bloat. There are some schema changes on the bloated one but I was wondering if there is way to identify

Re: Analyzing .pos files using luke

2016-07-11 Thread Erick Erickson
Why do you care? Is there a specific problem you're trying to diagnose? Since the merge logic wasn't identical (almost guaranteed), the sizes of the files are unreliable since they include deleted documents which are compacted on merging. So, you can try an optimize and compare immediately

Re: Sorting in solr

2016-07-11 Thread Erick Erickson
I'm going to be a bit pedantic here since "before" and "after" are a little misleading. Perhaps "during" is better. What happens internally is that a list "rows" long is kept (i..e the =### parameter). Let's say =20. A list to hold 20 items is created. The first 20 docs are just put in the list.

Re: Searching Home's, Homes and Home

2016-07-11 Thread Surender
Thanks... I am applying these filters and will share update on this issue. It will take couple of days. Thanks, Surender Singh -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-Home-s-Homes-and-Home-tp4286341p4286579.html Sent from the Solr - User mailing list

qf boosts with MoreLikeThis query parser

2016-07-11 Thread Demian Katz
Hello, I am currently using field-specific boosts in the qf setting of the MoreLikeThis request handler: https://github.com/vufind-org/vufind/blob/master/solr/vufind/biblio/conf/solrconfig.xml#L410 I would like to accomplish the same effect using the MoreLikeThis query parser, so that I can

solrcloud consumes more time than solr when write index

2016-07-11 Thread Kent Mu
Hi friends! solr version: 4.9.0. we use solr and solrcloud in our project, that means we use sorl and solrcloud at the same time. but we find a phenomenon that sorlcoud consumes more time than solr when write index. it takes nearly 5 or more times longer. I wonder that is why? in our project,

RE: post.jar with security.json

2016-07-11 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
FYI After some time, we revisited this issue, and found that post.jar *DOES* work with security.json after all. My test of whether or not it would work happened to have a typo in the port number; and I misinterpreted the error message as an erroneous indication that post.jar would not work

Re: Sorting in solr

2016-07-11 Thread Dheerendra Kulkarni
Naveen, The documents are sorted before. Lets say if it was a post sort and you are fetching 10 rows it would have pulled up top 10 rows and sorted it. but that is not what happens in solr it sorts in all available docs as per the query and goves the number of rows as per your requirment.

Re: Sorting in solr

2016-07-11 Thread Sandeep Mestry
Hi Naveen, I am not too sure what you're after but the sorting mechanism is applied after search results are fetched. >From Solr Ref Guide: https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter The sort parameter *arranges search

SolrCloud + Basic Auth : Runtime error in periodic deletion of expired docs

2016-07-11 Thread greg . 5179 . pro
Hello, I need to secure solr, no access allowed except for user solr, so I tried to set-up authentication & authorization. Everything seems to work fine, only solr user can read or modify a collection, but every 5 minutes this error appears in the log file of 1 instance. 2016-07-07

SolrCloud + Basic Auth : Runtime error in periodic deletion of expired docs

2016-07-11 Thread greg . 5179 . pro
Hello, I need to secure solr, no access allowed except for user solr, so I tried to set-up authentication & authorization. Everything seems to work fine, only solr user can read or modify a collection, but every 5 minutes this error appears in the log file of 1 instance. 2016-07-07

Sorting in solr

2016-07-11 Thread Naveen Pajjuri
Hi, If i apply some sorting order on solr. when are the Documents sorted. 1. are documents sorted after fetching the results ? 2. or we get sorted documents ? Regards, Naveen

Re: Disabling solr scoring

2016-07-11 Thread Bhaumik Joshi
Thanks Hoss got the point. Bhaumik Joshi From: Chris Hostetter Sent: Friday, July 8, 2016 4:52 PM To: solr-user Subject: Re: Disabling solr scoring : Can you please elaborate? I am passing user defined sort field and order whenever

Re: "Block join faceting is allowed with ToParentBlockJoinQuery only"

2016-07-11 Thread Marre
I am trying to get your 2nd query to work for me but for some reason it return not only parent documents. It also return children that match my term text:moby*. I am not using any specific field like you are with text: is that the problem that i have to only search for a field + value? not a value