Configuring SolrCloud 5.2.1 SSL -> settings of localhost/fqdn

2016-03-11 Thread Ilan Schwarts
Hi, In order to enable SSL in solrcloud 5.2.1 on Windows I have done the following steps: Created SSL keystore that fits jetty: Via CMD 1. keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity -keystore solr-ssl.keystore.jks -dname "CN=localh

Re: SOLR_HOST vs solr.xml (solrcloud config)

2016-03-11 Thread Brian Wright
Correction... Too fast on the send button. The subject should have been SOLR_HOST, not SOLR_HOME. Sorry for any confusion. Though, the body is correct. On 3/11/16 9:21 PM, Brian Wright wrote: Hi, Another question regarding documentation of Solr and Zookeeper. The manual states: Sol

SOLR_HOME vs solr.xml (solrcloud config)

2016-03-11 Thread Brian Wright
Hi, Another question regarding documentation of Solr and Zookeeper. The manual states: Solr Hostname Use the |SOLR_HOST| variable in the include file to set the hostname of the Solr server. |SOLR_HOST=solr1.example.com| Setting the hostname of the Solr server is recommended, especial

Re: timeAllowed

2016-03-11 Thread Anil
Sorry for that. i could not share direct query. response header is "QTime":5536, "params":{ "hl.fragsize":"50", "indent":"true", "hl.simple.pre":"", "collection":"case-collection_2011", "hl.fl":"*", "wt":"json", "hl":"true", "rows":"10", "d

Re: Solr Managed Schema by Default in 5.5

2016-03-11 Thread Shalin Shekhar Mangar
Data driven mode is different from managed schema. It is unfortunate that in our example configurations we implemented them together. Managed schema is about using APIs to read/write schema changes. Not requiring people to hand edit schema.xml is a good thing, IMO. Data driven schema uses the man

Re: Load pre-built index to Solr

2016-03-11 Thread Erick Erickson
Why not just use the --go-live option for MRIT and _put_ the data in collectionB? Note this only works for Solr indexes that are hosted on HDFS... If your Solr collections are not on HDFS, then it's the same process as I outlined. You create collectionB and copy things "to the right place" after M

Re: query against two fields

2016-03-11 Thread Erick Erickson
I'm assuming that by "Angular UI" you're talking the Solr admin UI (which, BTW, is not recommended for any user-facing UI). > query against two fields; Isn't this just putting project:whatever OR collaborator:whatever in the "q" box? > return all fields which we want to display Just put them i

query against two fields

2016-03-11 Thread Vis Sw
Hi, I need to query against two fields (e.g. search term present in either fields project or collaborator) but return all fields which we want to display using Angular UI. Should I combine project and collaborator to some field then query or there is any better way around Thanks for your suggest

Re: Very slow updates

2016-03-11 Thread michael solomon
It's discover as cloud(azure) problem. If you build 'ds' series machine in classic mode your Internet connection death.. (about 300k/s). I'm very upset about that.. It's take for me about a day to track down this bug... On Mar 10, 2016 9:52 PM, "Erick Erickson" wrote: > This really doesn't have m

using data from external service in Solr: value source or auxiliary core?

2016-03-11 Thread Jitka
Hello. Our company uses Solr-4.10 in a distributed environment. We are considering how best to customize results based on user preferences, information about which is obtained from an external service. At present the preferences can be expressed as filters, but eventually we might want to intr

Re: How to sort docs basing on nested docs' fields

2016-03-11 Thread Mikhail Khludnev
Just want to make sure that you can combine two {!parent} and propagate score from child to parent, like it's described at http://blog.griddynamics.com/2013/12/grandchildren-and-siblings-with-block.html On Fri, Mar 11, 2016 at 4:08 PM, Jhon Smith wrote: > Mikhail, > > > I suppose there are a cl

Re: Solr Managed Schema by Default in 5.5

2016-03-11 Thread Nick Vasilyev
Got it. Thank you for clarifying this, I was under impression that I would only be able to make changes via the API. I will look into this some more. On Fri, Mar 11, 2016 at 11:51 AM, Shawn Heisey wrote: > On 3/11/2016 9:28 AM, Nick Vasilyev wrote: > > Maybe I am missing something, if that is t

Re: Solr Managed Schema by Default in 5.5

2016-03-11 Thread Shawn Heisey
On 3/11/2016 9:28 AM, Nick Vasilyev wrote: > Maybe I am missing something, if that is the case what is the difference > between data_driven_schema_configs and basic_configs? I thought that the > only difference was that the data_driven_schema_configs comes with the > managed schema and the basic_co

Re: Load pre-built index to Solr

2016-03-11 Thread praneethvarma
Thank you Erick. I actually only have an index. I do not have collection B that hosts this index. The reducers of the MR job build an index (reducer per shard). I'm looking to load these generated lucene index files to the cores of a collection (new or existing and then I can work with aliasing a

Re: [More Like This] Query building

2016-03-11 Thread Alessandro Benedetti
I start to feel that is not that easy to contribute improvements or small fix to Solr ( if they are not super interesting to the mass) . I think this one could be a good improvement in the MLT but I would love to discuss this with some committer. The patch is attached, it is there since months ago.

Re: [Solr Suggester Component] Unique suggestions

2016-03-11 Thread Alessandro Benedetti
No one didn't care of the topic, let me try in the solr-user list as well ! Does anyone think that should exist a parameter that allow a Suggester to not return duplicate suggestions ? In my opinion could be a good improvement ! In the initial patch i was acting at SolrJ level, but to be honest I t

Re: Sending text into a number field

2016-03-11 Thread John Blythe
gotcha. thanks for the tips guys best, -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Fri, Mar 11, 2016 at 11:25 AM, Alessandro Benedetti < abenede...@apache.org> wrote: > Copyfield won't work if this

Re: Solr Managed Schema by Default in 5.5

2016-03-11 Thread Nick Vasilyev
Hi Shawn, Maybe I am missing something, if that is the case what is the difference between data_driven_schema_configs and basic_configs? I thought that the only difference was that the data_driven_schema_configs comes with the managed schema and the basic_configs come with regular? Also, I haven'

Re: Sending text into a number field

2016-03-11 Thread Alessandro Benedetti
Copyfield won't work if this is what you meant. The source content of the field ( prior any analysis) is extracted and then sent to the copy field where it is analysed. You need to simulate that approach in the process method of the update request processor. But i assume that that was what you tho

Re: Sending text into a number field

2016-03-11 Thread John Blythe
makes sense. could i set up a simple regex filter in a placeholder field of sorts and then copy that field into my tdouble field? -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Fri, Mar 11, 2016 at 11:0

Re: Sending text into a number field

2016-03-11 Thread Jack Krupansky
It might be nice to have a specialized update processor for this common case of wanting to specify two separate but related numeric fields using one string. IOW, parse out two numbers and then send them to two separate fields. Seems doable, either as a script or in Java. The script/processor could

Re: Sending text into a number field

2016-03-11 Thread Alessandro Benedetti
I agree with Upayavira, this is an information extraction task, you need to implement your logic to extract the proper numeric values from the textual field. Your update request processor could be as simple as you want in extracting the number and setting them in numeric fields. So this task is res

Re: Solr Managed Schema by Default in 5.5

2016-03-11 Thread Shawn Heisey
On 3/11/2016 7:01 AM, Nick Vasilyev wrote: > Is this now the default behavior for basic_configs? I would really like to > maintain an option to easily create collection with classic schema settings > without jumping through all of these hoops. Starting in 5.5, all examples now use the managed sche

Re: Sending text into a number field

2016-03-11 Thread Upayavira
On Fri, 11 Mar 2016, at 03:19 PM, John Blythe wrote: > hey all, > > i'm tossing a lot of mud against the wall and am wanting to see what > sticks. part of that includes throwing item descriptions against some > fields i've set up as doubles. the imported data is a double and some of > the descri

Re: timeAllowed

2016-03-11 Thread Upayavira
The screenshots didn't come through. Can you paste text into email? The query URL is the most important thing. Thx On Fri, 11 Mar 2016, at 02:00 PM, Anil wrote: > HI Upayavira, > > Thanks for your response. Following are the screenshots of the same > query with and without partial results in

Sending text into a number field

2016-03-11 Thread John Blythe
hey all, i'm tossing a lot of mud against the wall and am wanting to see what sticks. part of that includes throwing item descriptions against some fields i've set up as doubles. the imported data is a double and some of the descriptions will have the related data within it (product sizes, e.g. "S

Solr Managed Schema by Default in 5.5

2016-03-11 Thread Nick Vasilyev
Hi, I started playing around with Solr 5.5 and created a collection using the following: ./solr create_collection -c test -p 9000 -replicationFactor 2 -d basic_configs -shards 2 The collection created fine, however I see that although I specified basic_configs, it was deployed in managed schema

Re: timeAllowed

2016-03-11 Thread Anil
HI Upayavira, Thanks for your response. Following are the screenshots of the same query with and without partial results in the response. Please let me know if you have any questions. [image: Inline images 1] [image: Inline images 2] Regards, Anil On 11 March 2016 at 19:13, Upayavira wrote:

Re: timeAllowed

2016-03-11 Thread Upayavira
Show us the query URL. It would seem like your timeallowed isn't taking effect. Upayavira On Fri, 11 Mar 2016, at 12:48 PM, Anil wrote: > Thank you. > > in my test, i have timeallowed 10 ms. response has no partial results (no > partial flag in the response header) and Qtime is 200 ms. so little

Re: How to sort docs basing on nested docs' fields

2016-03-11 Thread Jhon Smith
Mikhail, > I suppose there are a clue over there > http://blog.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html It worked for two level docs. If we have 3 level nested docs: parent -> middle -> child [with price field we try to sort] then there is a problem when score=min: If we m

Re: timeAllowed

2016-03-11 Thread Anil
Thank you. in my test, i have timeallowed 10 ms. response has no partial results (no partial flag in the response header) and Qtime is 200 ms. so little confused. On 11 March 2016 at 18:07, Upayavira wrote: > > > On Fri, 11 Mar 2016, at 07:22 AM, Anil wrote: > > HI, > > > > is timeallowed is m

Re: How to pass facet info of the top inner nested doc to the top parent doc

2016-03-11 Thread Jhon Smith
Mikhail, >What if you just forgen about middle level It worked, thank you. I need facets from middle level too, and making child query to match both middle and child level allowes this and facet counts look working fine.

Re: timeAllowed

2016-03-11 Thread Upayavira
On Fri, 11 Mar 2016, at 07:22 AM, Anil wrote: > HI, > > is timeallowed is max threshold of Qtime ? or overall time ? Please > clarify. I do not understand the difference. Basically, when a query is happening, a collector gathers matching documents. The timeallowed parameter sets a point at whi

Re: NoSuchFileException errors common on version 5.5.0

2016-03-11 Thread Shai Erera
Hey Shawn, I added segments file information (name and size) to Core admin status API. Turns out that you might get into NoSuchFileException if indexing happens and the commit point has changed, but the IndexReader LukeRequestHandler receives hasn't picked up the new commit yet, in which case the

RE: NoSuchFileException errors common on version 5.5.0

2016-03-11 Thread Markus Jelsma
Hm, it happens on one of our nodes quite frequently, but that was 5.4, maybe even 5.3. org.apache.solr.common.SolrException: Error handling 'status' action at org.apache.solr.handler.admin.CoreAdminOperation$4.call(CoreAdminOperation.java:192) at org.apache.solr.handler.admin.C

Re: ngrams with position

2016-03-11 Thread elisabeth benoit
Jack, Emir, Thanks for your answers. Moving ngram logic to client side would be a fast and easy way to test the solution and compare it with the phonetic one. Best regards, Elisabeth 2016-03-11 10:52 GMT+01:00 Emir Arnautovic : > Hi Elizabeth, > In order to see if you will get better results, y

Re: ngrams with position

2016-03-11 Thread Emir Arnautovic
Hi Elizabeth, In order to see if you will get better results, you can move ngram logic outside of analysis chain - simplest solution is to move it to client. In such setup, you should be able to use pf2 and pf3 and see if that produces desired result. Regards, Emir On 10.03.2016 13:47, elisa

Re: Using group.ngroups during query search

2016-03-11 Thread Toke Eskildsen
On Fri, 2016-03-11 at 12:11 +0800, Zheng Lin Edwin Yeo wrote: > I would like to check, will using the results grouping with group.ngroups > (which will include the number of groups that have matched the query) in > the search affects the performance of the Solr? Yes. Calculating ngroups is done by