Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Hemant Purswani
Thanks for the explanation, Joel. I tried topic function today and it's working great. But I think it lacks something that I will be needing for my use case. Currently, it returns response in the following format. As you can see, it's not returning topicId. { "result-set": { "docs": [ { "id": "1

Solr - Amazon like search

2016-12-13 Thread vasanth vijayaraj
Hello, We are building an e-commerce mobile app. I have implemented Solr search and autocomplete. But we like the Amazon search and are trying to implement something like that. Attached a screenshot of what has been implemented so far The search/suggest should sort list of products based on p

Re: Renaming a collection

2016-12-13 Thread Zheng Lin Edwin Yeo
Hi Erick and Shawn, Thanks for the response and information. Regards, Edwin On 14 December 2016 at 00:53, Shawn Heisey wrote: > On 12/13/2016 8:38 AM, Zheng Lin Edwin Yeo wrote: > > Is it possible to rename a collection without using a collection API? > > I could not find any rename action in

Re: Solr 6 Default Core URL

2016-12-13 Thread billnbell
Yes with Nginx in front of it Bill Bell Sent from mobile > On Dec 13, 2016, at 2:54 PM, Max Bridgewater > wrote: > > I have one Solr core on my solr 6 instance and I can query it with: > > http://localhost:8983/solr/mycore/search?q=*:* > > Is there a way to configure solr 6 so that I can s

Re: "on deck" searcher vs warming searcher

2016-12-13 Thread Chris Hostetter
(disclaimer: i'm writing this all from memory, maybe there was some code change at some point that i'm not aware of and i'm completley wrong) : I've always understood the "on deck" searcher(s) being the same as the : warming searcher(s). So you have the "active" searcher and them the warming :

Re: Solr 6 Default Core URL

2016-12-13 Thread Chris Hostetter
No, Solr stoped supporting the concept of a default core back in Solr5. The only tangible benefit to having a default was being able to change the default to point at a diff core w/o impacting existing users. You can easily do the same thing by creating a core/collection alias that you use in

Re: Traverse over response docs in SearchComponent impl.

2016-12-13 Thread Chris Hostetter
FWIW: Perhaps an XY problem? can you explain more in depth what it is you plan on doing in this search component? : I can see that Solr calls the component's process() method, but from : within that method, rb.getResponseDocs(); is always null. No matter what : i try, i do not seem to be able

Solr 6 Default Core URL

2016-12-13 Thread Max Bridgewater
I have one Solr core on my solr 6 instance and I can query it with: http://localhost:8983/solr/mycore/search?q=*:* Is there a way to configure solr 6 so that I can simply query it with this simple URL? http://localhost:8983/search?q=*:* Thanks. Max,

Re: CREATEALIAS to non-existing collections

2016-12-13 Thread Chris Hostetter
: > We currently support requests to CREATEALIAS to collections that don’t : > exist. Requests to this alias later result in 404s. If the target : > collection is later created, requests to the alias will begin to work. I’m : > wondering if someone is relying on this behavior, or

Re: Rollback w/ Atomic Update

2016-12-13 Thread Todd Long
Yonik Seeley wrote > "rollback" is a lucene-level operation that isn't really supported at > the solr level: > https://issues.apache.org/jira/browse/SOLR-4733 I find it odd that this unsupported operation has been around since Solr 1.4. In this case, it seems like there is some underlying issue sp

Re: Solr has a CPU% spike when indexing a batch of data

2016-12-13 Thread Shawn Heisey
On 12/13/2016 10:25 AM, Shawn Heisey wrote: > That stacktrace indicates the thread is doing a query. If most of the > threads have that stacktrace, it means Solr is handling a lot of > simultaneous queries. That can cause a CPU spike. I checked one of the > thread dumps I didn't complete that sent

Re: Solr has a CPU% spike when indexing a batch of data

2016-12-13 Thread Shawn Heisey
On 12/13/2016 6:09 AM, forest_soup wrote: > I posted this issue to a JIRA. Could anyone help comment? Thanks! > > https://issues.apache.org/jira/browse/SOLR-9741 Please use the mailing list *before* opening an issue in Jira. If at all possible, we want to be sure that problems are caused by a rea

Re: Deep dive on the topic() streaming expression

2016-12-13 Thread Joel Bernstein
First a brief description of how the topic expression works. The topic expression allows you to subscribe to a query. Below is how it works internally. The topic expression maps to the TopicStream in the java Streaming API. So I encourage people who are interested to review this code. Under the

Re: Renaming a collection

2016-12-13 Thread Shawn Heisey
On 12/13/2016 8:38 AM, Zheng Lin Edwin Yeo wrote: > Is it possible to rename a collection without using a collection API? > I could not find any rename action in the Collections API. No. There is no rename functionality. The workaround is to use the alias feature, which Erick mentioned. Renami

Deep dive on the topic() streaming expression

2016-12-13 Thread Joel Bernstein
I plan on using this thread to address questions that were posted to SOLR-4587. Below are the questions asked: 1) You mentioned that "The issue here is that it's possible that an out of order version number could persist across commits." Is the above possible even if I am using optimistic concur

Re: Rollback w/ Atomic Update

2016-12-13 Thread Yonik Seeley
On Tue, Dec 13, 2016 at 10:36 AM, Todd Long wrote: > We've noticed that partial updates are not rolling back with subsequent > commits based on the same document id. Our only success in mitigating this > issue has been to issue an empty commit immediately following the rollback. "rollback" is a l

Re: Renaming a collection

2016-12-13 Thread Erick Erickson
Why not just use a collection alias? Best, Erick On Tue, Dec 13, 2016 at 7:38 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > Is it possible to rename a collection without using a collection API? I > could not find any rename action in the Collections API. > > I read from here > http://stackoverflow.co

Renaming a collection

2016-12-13 Thread Zheng Lin Edwin Yeo
Hi, Is it possible to rename a collection without using a collection API? I could not find any rename action in the Collections API. I read from here http://stackoverflow.com/questions/34889307/how-can-i-rename-a-core-created-in-solr that we can use action=RENAME http://localhost:8983/solr/admi

Rollback w/ Atomic Update

2016-12-13 Thread Todd Long
We've noticed that partial updates are not rolling back with subsequent commits based on the same document id. Our only success in mitigating this issue has been to issue an empty commit immediately following the rollback. I've included an example below showing the partial updates unexpected result

'Minimum Should Match' on subquery level

2016-12-13 Thread Rahul Lodha
Hi Myron, Can you give me an example of this? http://grokbase.com/t/lucene/solr-user/105jjpxa2x/minimum-should-match-on-subquery-level Regards, Rahul

Solr MapReduce Indexer Tool is failing for empty core name.

2016-12-13 Thread Manan Sheth
Hi All, While working on a migration project from Solr 4 to Solr 6, I need to reindex my data using Solr map reduce Indexer tool in offline mode with avro data. While executing the map reduce indexer tool shipped with solr 6.2.1, it is throwing error of cannot create core with empty name value

Re: questions about SOLR vs ES

2016-12-13 Thread Erick Erickson
bq: Questions, will it ever be free as free is or go to license ware? Solr/Lucene can't be charged for and still be an Apache Open Source project. And there's no way to remove them from Apache and try to lock them down. Various vendors could (and do) _add_ functionality on top of Solr and charge f

Solr has a CPU% spike when indexing a batch of data

2016-12-13 Thread forest_soup
Hi, I posted this issue to a JIRA. Could anyone help comment? Thanks! https://issues.apache.org/jira/browse/SOLR-9741 The details: When we doing a batch of index and search operations to SolrCloud v5.3.2, we usually met a CPU% spike lasting about 10 min. We have 5 physical servers, 2 solr ins

Re: Clob transformer not working in DIH

2016-12-13 Thread Kamal Kishore Aggarwal
Any help would be appreciated. On 12-Dec-2016 1:20 PM, "Kamal Kishore Aggarwal" wrote: > Any help guys ... > > On 09-Dec-2016 1:05 PM, "Kamal Kishore Aggarwal" > wrote: > >> Hi, >> >> I am using solr 5.4.1. Here I am using dataimport handler to index data >> with SQL Server. >> >> I am using CL

questions about SOLR vs ES

2016-12-13 Thread Bernd Fehling
Hi list, I don't want to write-up another SOLR vs ES. Every user should build up his own mind by installing and testing both. This is more about questions to the developers in which direction they "think" the future of SOLR will go. After installing the most recent version of ES I was shocked abo

Re: empty result set for a sort query

2016-12-13 Thread moscovig
Thanks for the help Yonik. Cheers Gilad -- View this message in context: http://lucene.472066.n3.nabble.com/empty-result-set-for-a-sort-query-tp4309256p4309500.html Sent from the Solr - User mailing list archive at Nabble.com.