5 second timeout in bin/solr stop command

2015-09-15 Thread Ere Maijala
Hi All, There's currently a five second delay in the bin/solr script when stopping a Solr instance before it's forcefully killed. In our experience this is not enough to allow a graceful shutdown of an active SolrCloud node and it seems a bit brutal to kill the process in the middle of shutdo

Re: Exception in SolrResponseBase.getQTime

2015-09-15 Thread Shalin Shekhar Mangar
Hi Gauri, Can you give more details on when this happens? Which Solr version? Also, can you please post the full stack trace? On Tue, Sep 15, 2015 at 9:19 PM, Gauri Shankar wrote: > Hi, > > I need a bit of your help as we recently encountering an issue related to > "QTime" in solr response via s

Re: FilterCache Tuning Question

2015-09-15 Thread Shawn Heisey
On 9/15/2015 1:35 PM, Sanders, Marshall (AT - Atlanta) wrote: > Currently if you have > fq=field1:value1 OR field2:value2 > > It generates a filter cache item with a key like this: > item_field1:value1 field2 > > Ideally it would create 2 additional ones like so (configured or on demand > maybe?):

Re: Google didn't help on this one!

2015-09-15 Thread Shawn Heisey
On 9/15/2015 11:43 AM, Mark Fenbers wrote: > So I ran "nc -l 8983" then restarted solr, and then ran my app with my > query. nc reported the following: > > GET > /solr/EventLog/spellCheckCompRH?qt=%2FspellCheckCompRH&q=Some+more+text+wit+some+missspelled+wordz.&spellcheck=on&spellcheck.build=true

Re: FilterCache Tuning Question

2015-09-15 Thread Mikhail Khludnev
Hello, See filter() in http://yonik.com/solr-5-4/ also http://blog.griddynamics.com/2014/01/segmented-filter-cache-in-solr.html On Tue, Sep 15, 2015 at 10:35 PM, Sanders, Marshall (AT - Atlanta) < marshall.sand...@autotrader.com> wrote: > Greetings, > > We've successfully figured out how to tune

FilterCache Tuning Question

2015-09-15 Thread Sanders, Marshall (AT - Atlanta)
Greetings, We've successfully figured out how to tune AND queries to make effective use (re-use) of the filter cache, is there a way to do this with OR queries as well? The way our data is structured I feel we could really benefit from it. For example with AND queries instead of doing fq=fiel

Moving on to spelling

2015-09-15 Thread Mark Fenbers
Greetings, In my app, I've successfully implemented full-text searching capabilities on a database using Solr. Now I'm ready to move on to using Solr's spell check/suggest capability. Having succeeded in searching, I figured spell-checking would be an easier step. Well, not for me! I'm ra

RE: Google didn't help on this one!

2015-09-15 Thread steve shepard
For this type of "walking" error, I'd suggest installing on the "client" pc a HTTP, HTTPS packet inspector like Fiddler; this allows you to see exactly what information you are sending to the server, and the response that you receive; format, image (if any) and the like. http://fiddlerbook.com/b

Re: Google didn't help on this one!

2015-09-15 Thread Mark Fenbers
So I ran "nc -l 8983" then restarted solr, and then ran my app with my query. nc reported the following: GET /solr/EventLog/spellCheckCompRH?qt=%2FspellCheckCompRH&q=Some+more+text+wit+some+missspelled+wordz.&spellcheck=on&spellcheck.build=true&wt=javabin&version=2 HTTP/1.1 User-Agent: Solr

Re: how to parse json response from Solr Term Vector Component (5.3.0)

2015-09-15 Thread Chris Hostetter
: : how to parse json response from Solr Term Vector Component? : : I got following json structure from response when testing Solr 5.3.0 : tvComponent: ... : Is it correct ? Why solr makes the json response for term vector : information so difficult to extract from the client side ? why

QueryResponse to json

2015-09-15 Thread Firas Khasawneh
Hi all, Is there a way to convert the QueryResponse from a Solrj query to Json? I am using JSONWriter to write the result as a json response in my servlet but when I convert solrDocs to an array, it converts everything to string with quotes including arrays. Example of this: It would return

Problem with CoreAdmin API CREATE command

2015-09-15 Thread Yago Riveiro
Hi, I’m having some issues with the command CREATE of the CoreAdmin API in solr 4.10.4. When I try to load a previous unloaded core with CREATE command, the result of this operation is 2 replicas in down state. One with the original coreNodeName set in clusterstate.json and other with an new one.

Exception in SolrResponseBase.getQTime

2015-09-15 Thread Gauri Shankar
Hi, I need a bit of your help as we recently encountering an issue related to "QTime" in solr response via solrj client. java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer at org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)

Re: Google didn't help on this one!

2015-09-15 Thread Yonik Seeley
On Tue, Sep 15, 2015 at 11:08 AM, Mark Fenbers wrote: > I'm working with the spellcheck component of Solr for the first time. I'm > using SolrJ, and when I submit my query, I get a Solr Exception: "Expected > mime type octet/stream but got text/html." > > What in the world is this telling me??

Google didn't help on this one!

2015-09-15 Thread Mark Fenbers
I'm working with the spellcheck component of Solr for the first time. I'm using SolrJ, and when I submit my query, I get a Solr Exception: "Expected mime type octet/stream but got text/html." What in the world is this telling me?? The query object I submitted is an entire sentence, not a si

Spell checking: What is left to the programmer?

2015-09-15 Thread Mark Fenbers
Greetings! My Java app, using SolrJ, now successfully does searches. I've used the web interface to do a full-text indexing and for each new entry added through my app, I have it add to this index. But now I want to use SolrJ to also do spell checking. I have read several documents on this

Generating a document by group count and displaying the result

2015-09-15 Thread Sreekant Sreedharan
I have a requirement to group documents by count based on a particular field: So for example if you have the following three documents: 1 food car 2 travel car 3 food car A search w