Re: Java object binding not working

2019-02-03 Thread Ray Niu
did you use multi values field? On Sun, Feb 3, 2019 at 8:22 PM Swapnil Katkar wrote: > Greetings! > > I am working on a requirement where I want to query the data and want to > do the object mapping for the retrieved result using Solrj. For this, I am > referring to the official document at > *

Re: Question about elevations

2018-11-19 Thread Ray Niu
one more thing to add, if there are fqs, they will be evaluated as well. Edward Ribeiro 于2018年11月19日周一 下午1:24写道: > Just complementing Alessandro's answer: > 1. the elevateIds are inserted into the query, server side (a query > expansion indeed); > 2. the query is executed; > 3. elevatedIds (if f

Re: Sort across collapsed document is not working

2017-09-07 Thread Ray Niu
n't supported (see the > docs, "group.ngroups and group.facet require that all documents in > each group must be co-located on the same shard") in sharded > situations so it's not surprising that the results differ. > > Best, > Erick > > On Thu, Sep 7, 2017 a

Sort across collapsed document is not working

2017-09-07 Thread Ray Niu
Hello: I tried to use Collapsing Query Parser per following link: https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results here is the query I am using http:///solr/collection/select?q=groupId:*& fl=id,groupId,date&fq=%7B!collapse%20field=groupId%20sort=%27id%20asc%27%7D& ex

Re: Solr Join Failures

2017-06-12 Thread Ray Niu
Streaming expression which has the various Join function, but > it requires Solr version 6 onward. > https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions > > > Regards, > Edwin > > > On 13 June 2017 at 05:25, Ray Niu wrote: > > > Hi: > >

Solr Join Failures

2017-06-12 Thread Ray Niu
Hi: We encounter an issue when using join query in Solr Cloud, our version is 5.5.2. We will query collection A and join with Collection B in the runtime, collection A and B always co-exist in the same node. Sometimes we found collection B was down for some reason, while collection A was stil

Re: solrj5.50 query excepion

2017-02-13 Thread Ray Niu
Spellcheck reponse format was changed since 5.0,not backward compatible alias <524839...@qq.com>于2017年2月13日 周一下午6:05写道: > hi I use solrj 5.5.0 to inquire solr3.6 reported the following error: > Java.lang.ClassCastException: java.lang.Boolean can not be cast to > org.apache.solr.common.util.Na

Re: High CPU Usage in export handler

2016-11-08 Thread Ray Niu
I'll try to spend some time understanding the > Lucene hotspots with /export. I'll report back to this thread when I have > more info. > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Mon, Nov 7, 2016 at 3:44 PM, Ray Niu wrote: > > > Hello: > >

Re: High CPU Usage in export handler

2016-11-07 Thread Ray Niu
Hello: Any follow up? 2016-11-03 11:18 GMT-07:00 Ray Niu : > the soft commit is 15 seconds and hard commit is 10 minutes. > > 2016-11-03 11:11 GMT-07:00 Erick Erickson : > >> Followup question: You say you're indexing 100 docs/second. How often >> are you _commi

Re: High CPU Usage in export handler

2016-11-03 Thread Ray Niu
? > > Best, > Erick > > On Thu, Nov 3, 2016 at 11:00 AM, Ray Niu wrote: > > Thanks Joel > > here is the information you requested. > > Are you doing heavy writes at the time? > > we are doing write very frequently, but not very heavy, we will update > > ab

Re: High CPU Usage in export handler

2016-11-03 Thread Ray Niu
> > What version of Solr are you using? > > What is the field definition for the double, is it docValues? > > > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Thu, Nov 3, 2016 at 12:56 AM, Ray Niu wrote: > > > Hello: > >We are

High CPU Usage in export handler

2016-11-02 Thread Ray Niu
Hello: We are using export handler in Solr Cloud to get some data, we only request for one field, which type is tdouble, it works well at the beginning, but recently we saw high CPU issue in all the solr cloud nodes, we took some thread dump and found following information: java.lang.Thread.

Re: Whether solr can support 2 TB data?

2016-09-23 Thread Ray Niu
You can only put 2 billion documents in one core, I would suggest to use solr cloud. you need calculate how many solr document in your data and then decide how many shards to go. you can get many useful resource in website, I just provide one here. http://www.slideshare.net/anshumg/best-practices-f

Re: help with field definition

2016-09-16 Thread Ray Niu
Just add q.op=OR to change default operator to OR and it should work 2016-09-16 12:44 GMT-07:00 Gandham, Satya : > Hi Emir, > >Thanks for your reply. But I’m afraid I’m not seeing the > expected response. I’ve included the query and the corresponding debug > portion of the response: >

Re: Solr Rounding Issue On Float fields.

2016-07-21 Thread Ray Niu
I met simliar issue before,suggest to use double as field type for this case Ray 2016年7月21日星期四,Nick Vasilyev 写道: > Thanks Chris. > > Searching for both values and retrieving the documents would be alright as > long as the data was correct. In this case, the data that I am indexing > into Solr is

Issues in export handler

2015-11-13 Thread Ray Niu
Hello: I am seeing following Exception during call export handler, is anyone familiar with it? at org.apache.lucene.util.BitSetIterator.(BitSetIterator.java:58) at org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:138) at org.apache.solr.response.QueryResponseWrite

Re: Sort not working as expected

2015-10-30 Thread Ray Niu
you should use string type instead of text if you want to sort alphabetically 2015-10-30 11:12 GMT-07:00 Brian Narsi : > I have a fieldtype setup as > > "100"> "solr.StandardTokenizerFactory"/> "solr.LowerCaseFilterFactory"/> minGramSize="3" maxGramSize="25"/> < > tokenizer class="solr.Sta

Re: Query differently or change fieldtype

2015-10-26 Thread Ray Niu
Ray, that is exactly what I found out and that is why I am > asking the question. > > On Mon, Oct 26, 2015 at 2:19 PM, Ray Niu wrote: > > > I found the conf minGramSize="2",which will only create index with at > least > > 2 chars,j will not match > > also

Re: Query differently or change fieldtype

2015-10-26 Thread Ray Niu
I found the conf minGramSize="2",which will only create index with at least 2 chars,j will not match also StandardTokenizerFactory will tokenize st j to st and j 2015年10月26日星期一,Brian Narsi 写道: > I have the following field type on a field ClientName: > > positionIncrementGap="100"> > > > > m

Re: Should I install 4.x or 5.x? Book recommendations?

2015-10-23 Thread Ray Niu
I would also suggest to use Solr5, as there are lots of new features. We are using 5.2.1 now, which is pretty stable. 2015-10-23 16:32 GMT-07:00 Shawn Heisey : > On 10/23/2015 12:22 PM, Robert Hume wrote: > > I'm investigating installing a new Solr deployment to be able to search > > about two mi