Re: Distributing nodes with the collections API RESTORE command

2016-09-16 Thread Hrishikesh Gadre
Hi Stephen, Thanks for the update. I filed SOLR-9527 for tracking purpose. I will take a look and get back to you. Thanks Hrishikesh On Fri, Sep 16, 2016 at 2:56 PM, Stephen Lewis wrote: > Hello, > > I've tried this on both

Re: Tutorial not working for me

2016-09-16 Thread Chris Hostetter
: I apologize if this is a really stupid question. I followed all It's not a stupid question, the tutorial is completley broken -- and for that matter, in my opinion, the data_driven_schema_configs used by that tutorial (and recommended for new users) are largely useless for the same

Re: Solr Cloud Using Docker

2016-09-16 Thread Vincenzo D'Amore
Hi, I did this https://github.com/freedev/solrcloud-zookeeper-docker If you want give it a try, this project aims to help developers and newbies that would try Solr Cloud and Zookeeper in a Docker environment. On Fri, Sep 16, 2016 at 11:11 PM, John Bickerstaff

Re: help with field definition

2016-09-16 Thread Gandham, Satya
Great, that worked. Thanks Ray and Emir for the solutions. On 9/16/16, 3:49 PM, "Ray Niu" wrote: 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, >

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 >

Re: Distributing nodes with the collections API RESTORE command

2016-09-16 Thread Stephen Lewis
Hello, I've tried this on both solr 6.1 and 6.2, with the same result. You are right that the collections API offering collection level backup/restore from remote server is a new feature. After some more experimentation, I am fairly sure that this is a bug which is specific to the leaders in

Re: Solr Cloud Using Docker

2016-09-16 Thread John Bickerstaff
In case this is helpful - sponsored by Lucidworks https://hub.docker.com/_/solr/ I can't speak to the pros and cons of using it in production except to say that they are probably the same as the pros and cons of running Docker in production (as in nothing is perfect) HTH... On Fri, Sep 16,

Re: Distributing nodes with the collections API RESTORE command

2016-09-16 Thread Reth RM
Which version of solr? Afaik, until 6.1, solr backup and restore command apis required to do separate backup for each shard, and then restore in similar lines( both go for each). 6.1 version seems to have new feature of backing up entire collection records and then restoring it back to new

Re: Exception is thrown when using TimestampUpdateProcessorFactory

2016-09-16 Thread Reth RM
Hi Preeti, Try adding a default attribute to the solrtimestamp field in schema and check if this resolves the issue. replace with correct default date format https://cwiki.apache.org/confluence/display/solr/Defining+Fields On Thu, Sep 15, 2016 at 5:32 AM, preeti kumari

Solr Cloud Using Docker

2016-09-16 Thread Brendan Grainger
Hi, Does anyone used docker for deploying solr? I am using it for running a single solr server ‘cloud’ locally on my dev box, but wondering about the pros/cons of using it in production. Thanks, Brendan

Re: help with field definition

2016-09-16 Thread 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: select?q=Justin\ Beiber=exactName_noAlias_en_US Debug: "rawquerystring":"Justin\\ Beiber",

Re: Tutorial not working for me

2016-09-16 Thread Pritchett, James
Thanks for that. I totally get how it is with complicated, open source projects. And from experience, I realize that beginner-level documentation is really hard, especially with these kinds of projects: by the time you get to documentation, everybody involved is so expert in all the details that

Re: Tutorial not working for me

2016-09-16 Thread John Bickerstaff
I totally empathize about the sense of wasted time. On Solr in particular I pulled my hair out for months - and I had access to people who had been using it for over two years!!! For what it's worth - this is kind of how it goes with most open source projects in my experience. It's painful -

Re: slow updates/searches

2016-09-16 Thread Rallavagu
Comments in line... On 9/16/16 10:15 AM, Erick Erickson wrote: Well, the next thing I'd look at is CPU activity. If you're flooding the system with updates there'll be CPU contention. Monitoring does not suggest any high CPU but as you can see from vmstat output "user" cpu is a bit high

Re: slow updates/searches

2016-09-16 Thread Erick Erickson
Well, the next thing I'd look at is CPU activity. If you're flooding the system with updates there'll be CPU contention. And there are a number of things you can do that make updates in particular much less efficient, from committing very frequently (sometimes combined with excessive autowarm

Re: Tutorial not working for me

2016-09-16 Thread Pritchett, James
Second possibility: You've somehow indexed fields as "string" type rather than one of the text based fieldTypes. "string" types are not tokenized, thus a field with "My dog has fleas" will fail to find "My". It'll even not match "my dog has fleas" (note capital "M"). That appears to be the issue.

Re: Searching Special charterer in solr behaving inconsistent

2016-09-16 Thread Erick Erickson
You really have to define _how_ it's not working, provide field definitions, perhaps the result of adding =query to the URL. You might review: http://wiki.apache.org/solr/UsingMailingLists At a guess and based on fragmentary information, your second query is searching against the default field,

Searching Special charterer in solr behaving inconsistent

2016-09-16 Thread shekhar
Problem: Searching Special charterer in solr behaving inconsistently Example: search character ¢ , £ , ¤ , ¥ , ¦ , § By searching this character by using particular field Like say title__v, result is coming as expected. *Query:*

Re: Tutorial not working for me

2016-09-16 Thread Pritchett, James
I looked at the managed-schema and it does appear that fields like "name" were not indexed (if I'm reading this correctly): Not sure if this is because some step was missed, the post command was done incorrectly, or what. Tutorial says nothing about schemas or indexes. For reference, here's the

Re: slow updates/searches

2016-09-16 Thread Rallavagu
Erick, Was monitoring GC activity and couldn't align GC pauses to this behavior. Also, the vmstat shows no swapping or cpu I/O wait. However, whenever I see high update response times (corresponding high QTimes for searches) vmstat shows as series of number of "waiting to runnable" processes

Re: Best way to generate multivalue fields from streaming API

2016-09-16 Thread Joel Bernstein
Unfortunately there currently isn't a way to split a field. But this would be nice functionality to add. The approach would be to an add a split operation that would be used by the select() function. It would look like this: select(jdbc(...), split(fieldA, delim=","), ...) This would make a

Re: Tutorial not working for me

2016-09-16 Thread John Bickerstaff
what happens if you issue this? Do you see the field in question in the results? http://localhost:8983/solr/gettingstarted/select?wt=json=true= *:* On Fri, Sep 16, 2016 at 9:43 AM, Alexandre Rafalovitch

Re: Tutorial not working for me

2016-09-16 Thread Alexandre Rafalovitch
If your fields are of type string, you have to match them exactly. But the general queries are probably going against _text_ or similar which copyFields context of all other fields without storing but tokenize with its own text rules. Check df parameter in solrconfig.xml or params.json.

Re: slow updates/searches

2016-09-16 Thread Erick Erickson
First thing I'd look is whether you're _also_ seeing stop-the-world GC pauses. In that case there are a number of JVM options that can be tuned Best, Erick On Fri, Sep 16, 2016 at 8:40 AM, Rallavagu wrote: > Solr 5.4.1 with embedded jetty single shard - NRT > > Looking

Re: Tutorial not working for me

2016-09-16 Thread Erick Erickson
My bet: the fields (look in managed_schema or, possibly schema.xml) has stored="true" and indexed="false" set for the fields in question. Pretty much everyone takes a few passes before this really makes sense. "stored" means you see the results returned, "indexed" must be true before you can

slow updates/searches

2016-09-16 Thread Rallavagu
Solr 5.4.1 with embedded jetty single shard - NRT Looking in logs, noticed that there are high QTimes for Queries and round same time high response times for updates. These are not during "commit" or "softCommit" but when client application is sending updates. Wondering how updates could

Re: Tutorial not working for me

2016-09-16 Thread Pritchett, James
I am following the exact instructions in the tutorial: copy and pasting all commands & queries from the tutorial: https://lucene.apache.org/solr/quickstart.html. Where it breaks down is this one: http://localhost:8983/solr/gettingstarted/select?wt=json=true=name:foundation This returns no

Re: Tutorial not working for me

2016-09-16 Thread John Bickerstaff
Please share the exact query syntax? Are you using a collection you built or one of the examples? On Fri, Sep 16, 2016 at 9:06 AM, Pritchett, James < jpritch...@learningally.org> wrote: > I apologize if this is a really stupid question. I followed all > instructions on installing Tutorial, got

Re: [Rerank Query] Distributed search + pagination

2016-09-16 Thread Alessandro Benedetti
In addition to that, I think the only way to solve this is to rely on the aggregator node to actually re-rank after having aggregated. Cheer On Fri, Sep 9, 2016 at 11:48 PM, Alessandro Benedetti wrote: > Let me explain further, > let's assume a simple case when we have

Best way to generate multivalue fields from streaming API

2016-09-16 Thread Mike Thomsen
Read this article and thought it could be interesting as a way to do ingestion: https://dzone.com/articles/solr-streaming-expressions-for-collection-auto-upd-1 Example from the article: daemon(id="12345", runInterval="6", update(users, batchSize=10,

Tutorial not working for me

2016-09-16 Thread Pritchett, James
I apologize if this is a really stupid question. I followed all instructions on installing Tutorial, got data loaded, everything works great until I try to query with a field name -- e.g., name:foundation. I get zero results from this or any other query which specifies a field name. Simple queries

Re: Can I get a document from its Lucene ID?

2016-09-16 Thread Yonik Seeley
On Fri, Sep 16, 2016 at 9:23 AM, Alexandre Rafalovitch wrote: > Because I get this error message and not sure what the next step is: > "child query must only match non-parent docs, but parent docID=38200 > matched childScorer=class >

Re: Miserable Experience Using Solr. Again.

2016-09-16 Thread Alexandre Rafalovitch
On 16 September 2016 at 18:30, Stefan Matheis wrote: >> … choice between better docs and better UI, I’ll choose a better UI every >> time > > Aaron, you (as well as all others) are more than welcome to help out - no > matter what you do / how you do it. > > While we’d obviously

Re: Miserable Experience Using Solr. Again.

2016-09-16 Thread Shawn Heisey
Responses inline. More potentially flimsy excuses coming your way. On 9/15/2016 9:56 PM, Aaron Greenspan wrote: > My two cents: I’m glad to see the discussion over improved documentation, but > if you give me a choice between better docs and better UI, I’ll choose a > better UI every time. If

Can I get a document from its Lucene ID?

2016-09-16 Thread Alexandre Rafalovitch
Because I get this error message and not sure what the next step is: "child query must only match non-parent docs, but parent docID=38200 matched childScorer=class org.apache.lucene.search.DisjunctionSumScorer" I understand that 38200 is transient and all that, but can I get a document by it

Re: Miserable Experience Using Solr. Again.

2016-09-16 Thread Stefan Matheis
> … choice between better docs and better UI, I’ll choose a better UI every time Aaron, you (as well as all others) are more than welcome to help out - no matter what you do / how you do it. While we’d obviously would love to get some more hands helping out with the coding parts - improving

Re: help with field definition

2016-09-16 Thread Emir Arnautovic
Hi, I missed that you already did define field and you are having troubles with query (did not read stackoverflow). Added answer there, but just in case somebody else is having similar troubles, issue is how query is written - space has to be escaped: q=Justin\ Bieber Regards, Emir On