Re: _version_ as LongPointField returns error

2017-06-12 Thread Shawn Feldman
t;solr-user@lucene.apache.org" > : Subject: Re: _version_ as LongPointField returns error > : > : On Mon, Jun 12, 2017 at 12:24 PM, Shawn Feldman > wrote: > : > Why do you need doc values though? i'm never going to sort by version > : > : Solr needs a quic

Re: _version_ as LongPointField returns error

2017-06-12 Thread Shawn Feldman
Why do you need doc values though? i'm never going to sort by version On Mon, Jun 12, 2017 at 10:13 AM Yonik Seeley wrote: > I think the _version_ field should be > - indexed="false" > - stored="false" > - docValues="true" > > -Yonik

Re: _version_ as LongPointField returns error

2017-06-12 Thread Shawn Feldman
logged this ticket https://issues.apache.org/jira/browse/SOLR-10872 On Mon, Jun 12, 2017 at 10:08 AM Shawn Feldman wrote: > I changed all my TrieLong Fields to Point fields. _version_ always > returns an error unless i turn on docvalues > > > > > Getting this err

_version_ as LongPointField returns error

2017-06-12 Thread Shawn Feldman
I changed all my TrieLong Fields to Point fields. _version_ always returns an error unless i turn on docvalues Getting this error when i index. Any ideas? Remote error message: Point fields can't use FieldCache. Use docValues=true for field: _version_ solr2_1|at org.apache.solr

Re: How to do CDCR with basic auth?

2017-06-06 Thread Shawn Feldman
looks like this ticket was fixed in 6.6 SOLR-10718 <http://issues.apache.org/jira/browse/SOLR-10718> On Fri, May 19, 2017 at 3:19 PM Shawn Feldman wrote: > i added a ticket > > https://issues.apache.org/jira/browse/SOLR-10718 > > we'll see what happens > > On Fr

dynamic fields during segment merge

2017-06-06 Thread Shawn Feldman
When solr is merging segments of the tlog what impact do dynamic fields have? If i have 1k dynamic fields do i pay the cost on every merge or only if the documents have those fields? -shawn

Re: composite hash

2017-06-05 Thread Shawn Feldman
If i add the /3 will i need to reindex? On Mon, Jun 5, 2017 at 11:50 AM Susheel Kumar wrote: > Its should be _route_=myshard/3! > > On Mon, Jun 5, 2017 at 12:54 PM, Shawn Feldman > wrote: > > > I am indexing with a composite hash of "myshard/3!myid" > > &g

composite hash

2017-06-05 Thread Shawn Feldman
I am indexing with a composite hash of "myshard/3!myid" If i want to query with the _route_ param, what does my route look like _route_=myshard/3! or _route_=myshard! ? shawn

Zookeeper-aware golang library

2017-05-30 Thread Shawn Feldman
I've been working on a go library for solr that is zk aware for the past few months. Here is my library. let me know if you'd like to contribute. I compute the hashrange given a key and route and return the desired servers in the cluster then have an sdk for query and for retries given network ou

Re: How to do CDCR with basic auth?

2017-05-19 Thread Shawn Feldman
i added a ticket https://issues.apache.org/jira/browse/SOLR-10718 we'll see what happens On Fri, May 19, 2017 at 3:03 PM Shawn Feldman wrote: > I have the same exact issue on my box. Basic auth works in 6.4.2 but > fails in 6.5.1. I assume its a bug. probably just

Re: How to do CDCR with basic auth?

2017-05-19 Thread Shawn Feldman
I have the same exact issue on my box. Basic auth works in 6.4.2 but fails in 6.5.1. I assume its a bug. probably just hasn't been acknowledged yet. On Sun, May 14, 2017 at 2:37 PM Xie, Sean wrote: > Configured the JVM: > > -Dsolr.httpclient.builder.factory=org.apache.solr.client.solrj.impl.P

Re: losing records during solr updates

2017-03-27 Thread Shawn Feldman
3055570144985088), dev_list_segmentation_test_76661_recipients! batch4...@x.com (1563055570144985089)]} 0 23 On Mon, Mar 27, 2017 at 3:04 PM Shawn Feldman wrote: > Here is the solr log of our test node restarting > > https://s3.amazonaws.com/uploads.hipchat.com/17705/1138911/fvKS3t5uAnoi0

Re: losing records during solr updates

2017-03-27 Thread Shawn Feldman
Here is the solr log of our test node restarting https://s3.amazonaws.com/uploads.hipchat.com/17705/1138911/fvKS3t5uAnoi0pP/solrlog.txt On Mon, Mar 27, 2017 at 2:10 PM Shawn Feldman wrote: > Ercan, I think you responded to the wrong thread > > On Mon, Mar 27, 2017 at 2:02 PM Ercan

Re: losing records during solr updates

2017-03-27 Thread Shawn Feldman
solr-start.com/> > www.solr-start.com > Welcome to the collection of resources to make Apache Solr search engine > more comprehensible to beginner and intermediate users. While Solr is very > easy to start with ... > > > > > > On 27 March 2017 at 15:25, Shawn Feld

Re: losing records during solr updates

2017-03-27 Thread Shawn Feldman
6.4.2 On Mon, Mar 27, 2017 at 1:29 PM Alexandre Rafalovitch wrote: > What version of Solr is it? > > Regards, >Alex. > > http://www.solr-start.com/ - Resources for Solr users, new and experienced > > > On 27 March 2017 at 15:25, Shawn Feldman wrote: &g

Re: losing records during solr updates

2017-03-27 Thread Shawn Feldman
We are also hard committing at 15 sec and soft committing at 30 sec. I've found if we change syncLevel to fsync then we don't lose any data On Mon, Mar 27, 2017 at 1:30 PM Shawn Feldman wrote: > 6.4.2 > > On Mon, Mar 27, 2017 at 1:29 PM Alexandre Rafalovitch > wrote: &g

losing records during solr updates

2017-03-27 Thread Shawn Feldman
When we restart solr on a leader node while we are doing updates, we've noticed that some small percentage of data is lost. maybe 9 records out of 1k. Updating using min_rf=3 or full quorum seems to resolve this since our rf = 3. Updates then seem to only succeed when all nodes are back up. Why