Using stream and response with /export Request Handler

2016-10-11 Thread Nkechi Achara
Hi All, I have an export handler defined as the following: {!xport} xsort false query I am then attempting to utilise stream and response from a SolrCloudServer as. server.queryAndStreamResponse(query,callback) And i am receiving an error regarding the output rece

Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Jerome Yang
Hi all, I'm facing a strange problem. Here's a solrcloud on a single machine which has 2 solr nodes, version: solr6.1. I create a collection with 2 shards and replica factor is 3 with default router called "test_collection". Index some documents and commit. Then I backup this collection. After t

Re: Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Jerome Yang
Using curl do some tests. curl 'http://localhost:8983/solr/restore_test_collection/update? *commit=true*&wt=json' --data-binary @test.json -H 'Content-type:application/json' The leader don't have new documents, but other replicas have. curl 'http://localhost:8983/solr/restore_test_collection/upd

Re: Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Jerome Yang
@Mark Miller Please help~ On Tue, Oct 11, 2016 at 5:32 PM, Jerome Yang wrote: > Using curl do some tests. > > curl 'http://localhost:8983/solr/restore_test_collection/update? > *commit=true*&wt=json' --data-binary @test.json -H > 'Content-type:application/json' > > The leader don't have new docu

Re: Highlight partial match

2016-10-11 Thread Shawn Heisey
On 10/11/2016 12:15 AM, Juan Fernando Mora wrote: > Hi, I have been doing some research on highlighting partial matches, > there are some information on google but is far from complete and I > just can't get it to work. *I have highlighting working but it > highlights complete words, example:* I

Re: Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Shawn Heisey
On 10/11/2016 3:27 AM, Jerome Yang wrote: > Then, I index some new documents, and commit. I find that the > documents are all indexed in shard1 and the leader of shard1 don't > have these new documents but other replicas do have these new documents. Not sure why the leader would be missing the do

Lowercase all characters in String

2016-10-11 Thread Zheng Lin Edwin Yeo
Hi, Would like to find out, what is the best way to lowercase all the text, while preserving all the tokens. As I need to preserve every character of the text (including symbols and white space), I'm using String. However, I can't put the LowerCaseFilterFactory in String. I found that we can use

Re: Lowercase all characters in String

2016-10-11 Thread Ahmet Arslan
Hi, KeywordTokenizer and LowerCaseFilter should suffice. Optionally you can add TrimFilter too. Ahmet On Tuesday, October 11, 2016 5:24 PM, Zheng Lin Edwin Yeo wrote: Hi, Would like to find out, what is the best way to lowercase all the text, while preserving all the tokens. As I need to p

Re: Lowercase all characters in String

2016-10-11 Thread Walter Underwood
Like this: wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 11, 2016, at 7:43 AM, Ahmet Arslan wrote: > > Hi, > > KeywordTokenizer and LowerCaseFilter should suffice. Optionally you can add > Tri

Query by distance

2016-10-11 Thread marotosg
Hi, I have a field which contains Job Positions for people. This field uses a SynonymFilterFactory The field contains the following data "Chief Sales Officer" and my synonyms file has an entrance like "Chief Sales Officer, Chief of Sales, Chief Sales Executive". My Analyzer return for "Chief

VPAT?

2016-10-11 Thread Bill Yosmanovich
Would anyone happen to know if SOLR has a VPAT or where I could obtain any Section 508 compliance information? Thanks! Bill Yosmanovich

Re: VPAT?

2016-10-11 Thread KRIS MUSSHORN
I'm sure someone will correct me if i am wrong but SOLR is data layer device so 508 compliance would have to be assured by the presentation layer device. Unless your talking about 508 compliance for the admin webapp. K - Original Message - From: "Bill Yosmanovich" To: solr-user@lu

Re: VPAT?

2016-10-11 Thread Walter Underwood
Solr is not designed for direct customer use, so a VPAT is not needed. Each implementation builds their own end user search UI. That UI needs an evaluation. When I did the evaluation for Ultraseek Server, we exempted the entire admin UI using the Section 508 “back office” exception. https://ww

Re: Highlight partial match

2016-10-11 Thread Juan Fernando Mora
Well, that would explain it, I hand't noticed the start and end values, I'm not experienced with analysis, but this is really interesting, I will look into this, Thanks a lot Shawn! On Tue, Oct 11, 2016 at 7:31 AM, Shawn Heisey wrote: > On 10/11/2016 12:15 AM, Juan Fernando Mora wrote: > > Hi,

Unsubscribe from this mailing-list

2016-10-11 Thread prakash reddy
Please remove me from the mailing list.

Re: Lowercase all characters in String

2016-10-11 Thread Zheng Lin Edwin Yeo
Thanks Ahmet and Walter. It works. Regards, Edwin On 11 October 2016 at 23:36, Walter Underwood wrote: > Like this: > > > > > > > > > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > > On Oct

Re: SolrCloud - Path must not end with / character

2016-10-11 Thread Ona
I am facing same "Overseer main queue loop .." exception. Removed that bad node and cleared version-2 folder from Zookeeper. Reinstalling Solr and Zookeeper using backup copies also fail. Looks information about the node is stored somewhere on the server cache. Unfortunately, I cannot find any patc

Split words with period in between into separate tokens

2016-10-11 Thread Derek Poh
Hi How can I split words with period in between into separate tokens. Eg. "Co.Ltd" => "Co" "Ltd" . I am using StandardTokenizerFactory and it does notreplace periods (dots) that are not followed by whitespace are kept as part of the token, including Internet domain names. This is the field d

VPAT / 508 compliance information?

2016-10-11 Thread Bill Yosmanovich
Would anyone happen to know if SOLR has a VPAT or where I could obtain any Section 508 compliance information? Thanks! Bill Yosmanovich

Re: Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Jerome Yang
Hi Shawn, I just check the clusterstate.json which is restored for "restore_test_collection". The router is "router":{"name":"compositeId"}, not implicit. So, it's a very serious bug I think. Should this bug g

Re: Solrcloud after restore collection, when index new documents into restored collection, leader not write to index.

2016-10-11 Thread Jerome Yang
@Erick Please help😂 On Wed, Oct 12, 2016 at 10:21 AM, Jerome Yang wrote: > Hi Shawn, > > I just check the clusterstate.json > > which > is restored for "restore_test_collection". > The router is "router":{"n

Predicting query execution time.

2016-10-11 Thread Modassar Ather
Hi, We see queries executing in less than a second and taking minutes to execute as well. We need to predict the approximate time a query might take to execute. Need your help in finding the factors to be considered and calculating an approximate execution time. Thanks, Modassar

Re: Predicting query execution time.

2016-10-11 Thread Shawn Heisey
On 10/11/2016 11:46 PM, Modassar Ather wrote: > We see queries executing in less than a second and taking minutes to > execute as well. We need to predict the approximate time a query might > take to execute. Need your help in finding the factors to be > considered and calculating an approximate ex

Re: Re: Config for massive inserts into Solr master

2016-10-11 Thread Reinhard Budenstecher
> > That's considerably larger than you initially indicated. In just one > index, you've got almost 300 million docs taking up well over 200GB. > About half of them have been deleted, but they are still there. Those > deleted docs *DO* affect operation and memory usage. > > Getting rid of deleted

Re: Predicting query execution time.

2016-10-11 Thread Modassar Ather
Thanks Shawn for your suggestions. Best, Modassar On Wed, Oct 12, 2016 at 11:44 AM, Shawn Heisey wrote: > On 10/11/2016 11:46 PM, Modassar Ather wrote: > > We see queries executing in less than a second and taking minutes to > > execute as well. We need to predict the approximate time a query m

Re: Config for massive inserts into Solr master

2016-10-11 Thread Shawn Heisey
On 10/12/2016 12:18 AM, Reinhard Budenstecher wrote: > Is my assumption correct that an OPTIMIZE of index would block all > inserts? So that all processes have to pause when I will start an > hour-running OPTIMIZE? If so, this would also be no option for the moment. That is not correct as of versi