Re: [ISSUE] After restoring data to a Solrcloud instance

2016-02-29 Thread Janit Anjaria (Tech-IT)
Hi, Please find below the console logs for the above issue we have been facing: org.apache.solr.common.SolrException: Error opening new searcher at org.apache.solr.core.SolrCore.(SolrCore.java:824) at org.apache.solr.core.SolrCore.(SolrCore.java:665) at

[ISSUE] After restoring data to a Solrcloud instance

2016-02-29 Thread Janit Anjaria (Tech-IT)
Hi, We have been facing the problem of corrupted solr index, after restoring our data. When we restore the data, the status shows 'success' after some time. But later, when we make some config changes and then try to stop the instance and restart it with the new configurations - the index is

Re: [ISSUE] After restoring data to a Solrcloud instance

2016-02-29 Thread Varun Thacker
Hi Janit, Please ask these questions the solr-user mailing list. There is no point in double posting to the dev list as well. Looking at the stacktrace it looks like the index files are corrupted. On the backed up index can you run the CheckIndex command to see what it says. The command would

Re: Non-contigous terms in SuggestComponent

2016-02-29 Thread Zheng Lin Edwin Yeo
>From what I have experienced, the performance using edismax will be slower. It may not be that significant if your index size is small, but it will get more significant as your index size grows. By the way, which version of Solr are you using? Regards, Edwin On 29 February 2016 at 21:33,

Re: SolrJ 5.5 won't work with any of my servers

2016-02-29 Thread Shai Erera
Shawn, not sure if it's the same case as yours, but I've hit NPEs upgrading to 5.5 too. In my case though, SolrJ talks to a proxy servlets before the request gets routed to Solr, and that servlet didn't handle binary content stream well. I had to add another resource method to the servlet which

bin/solr create returning target server failed to respond

2016-02-29 Thread pwbryant
I am a new to solr and servers in general. I am using Solr 5.5.0 on a Raspberry Pi 2 running Ubuntu trusty. I can start the solr server, and visit the admin page, but when I try to run something like 'bin/solr create -c testcore' I recieve: *INFO - 2016-03-01 02:26:41.595;

Re: SolrJ 5.5 won't work with any of my servers

2016-02-29 Thread Shawn Heisey
On 2/29/2016 7:01 PM, Shawn Heisey wrote: > On 2/29/2016 6:42 PM, Shawn Heisey wrote: >> I'm getting this stacktrace after upgrading SolrJ to 5.5.0 in my build >> client: >> >> http://apaste.info/Vpg >> >> This is happening with 4.x, 5.3.2-SNAPSHOT, and 5.5.0-SNAPSHOT servers. > I got a little bit

Re: guidance in parboiled required

2016-02-29 Thread Ahmet Arslan
Hi Roshan, This is first time I am hearing about parboiled, but please see wiki page for commercial support https://wiki.apache.org/solr/Support Ahmet On Tuesday, March 1, 2016 3:15 AM, SIDDHAST® Roshan wrote: Dear Solr and lucene group memebers We are on a parboiled

Re: SolrJ 5.5 won't work with any of my servers

2016-02-29 Thread Shawn Heisey
On 2/29/2016 6:42 PM, Shawn Heisey wrote: > I'm getting this stacktrace after upgrading SolrJ to 5.5.0 in my build > client: > > http://apaste.info/Vpg > > This is happening with 4.x, 5.3.2-SNAPSHOT, and 5.5.0-SNAPSHOT servers. I got a little bit closer look at the server log. Initially it

SolrJ 5.5 won't work with any of my servers

2016-02-29 Thread Shawn Heisey
I'm getting this stacktrace after upgrading SolrJ to 5.5.0 in my build client: http://apaste.info/Vpg This is happening with 4.x, 5.3.2-SNAPSHOT, and 5.5.0-SNAPSHOT servers. If I configure ivy to pull solrj 5.4.1 instead of the latest version, everything works without changing the code. I

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Alexandre Rafalovitch
I mean to create several different fields that are indexed differently (and not stored). So one could be indexed with minimal processing and another with more aggressive one but with less weight. Regards, Alex. Newsletter and resources for Solr beginners and intermediates:

guidance in parboiled required

2016-02-29 Thread SIDDHAST® Roshan
Dear Solr and lucene group memebers We are on a parboiled parser for solr. We are facing a small issue regarding the rule construction in parboiled. We would like some one in lucene apache qroup to guide us on this issue with your expert knowledge. Please let us know if members in group with

Re: How to deploy Solr 5.5 in Tomcat 8

2016-02-29 Thread Shawn Heisey
On 2/29/2016 4:09 PM, Marcin T wrote: > Since Solr 5.x there is no web archive (war) in standard distribution. > So I'm building a web archive (war) and I'm deploying it in my Tomcat > 8 container. It works to Solr 5.3. Since Solr 5.4 it doesn't works > How can I solve this problem? Don't deploy

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Derek Poh
Hi Alex Can you advice how can I make use of copyField to handle this issue? NLP lematisation will be the last resort and subject to budget and business usersdecision. Derek On 3/1/2016 8:13 AM, Alexandre Rafalovitch wrote: On 29 February 2016 at 20:40, Derek Poh

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Derek Poh
Hi Emir For my use case, it is to do a exact match (enclosed searchkeyword in double quotes) on a search field. Searchon "power banks" should return matches for "power bank" and "power banks", singular and plural forms. I will need to do furthertesting with porterstemfilter to ensure it meet

Re: outlook email file pst extraction problem

2016-02-29 Thread Sreenivasa Kallu
Thanks Timothy for your prompt help. I tried first option. I am able to extract .eml ( MIME format) files from PST file using libpst library. I am not able extract .msg ( outlook emails) files using libpst library. I am able to feed .eml files into SOLR. I can see some of tags are missing in

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Alexandre Rafalovitch
On 29 February 2016 at 20:40, Derek Poh wrote: > Is there other filter factory that can reduce pluralto singular correctly? English is not an easy language and most of the heuristic filters have issues. You could try copyField and multiple approaches. Or, if this is a

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Alexandre Rafalovitch
On 29 February 2016 at 09:40, wrote: > I have no problem with automatic. It is "automagicall" stuff that I find a > bit hard to like. Ie things that are automatic, but doesn't explain how and > why they are automatic. But Disney Land and Disney World are

How to deploy Solr 5.5 in Tomcat 8

2016-02-29 Thread Marcin T
Hi, Since Solr 5.x there is no web archive (war) in standard distribution. So I'm building a web archive (war) and I'm deploying it in my Tomcat 8 container. It works to Solr 5.3. Since Solr 5.4 it doesn't works (admin's page doesn't works). A problem is with

solr.SynonymFilterFactory chages order of terms

2016-02-29 Thread vitaly bulgakov
Hi, I use solr 4.2 In schema.xml I created the following filed type: ** "bn_synonyms.txt" contains: *testword=>test word*

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Jack Krupansky
Interesting... if I google for "edismax solr" (I usually specify a product name when searching for doc by feature name to avoid irrelevant hits) the old wiki comes up as #1 and new doc as #2, but if I search for "edismax" alone (which I normally wouldn't do out of a desire to limit matches to the

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Jack Krupansky
It is indeed a problem that the old edismax wiki is result #1 from Google. I find that annoying as well since I also use Google search as my first step in accessing doc on everything. -- Jack Krupansky On Mon, Feb 29, 2016 at 10:03 AM, wrote: > Thanks

RE: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread jimi.hullegard
Thanks Shawn, I had more or less assumed that the cwiki site was focused on the latest Solr version, but never really noticed that the "reference guide" was available in version-specific releases. I guess that is partly because I prefer googling about a specific topic, instead of reading some

RE: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread jimi.hullegard
Well, I have to say that I strongly disagree with you. No regular user should have to resort to the source code to understand that edismax is preconfigured. Because that is what this is all about, in essence. The current documentation doesn't mention this, and the only documentation about

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Shawn Heisey
On 2/29/2016 7:00 AM, jimi.hulleg...@svensktnaringsliv.se wrote: > So, should I assume that the "Confluence wiki" is the correct place for all > documentation, even for solr 4.6? If you want documentation specifically for 4.6, there are version-specific releases of the guide:

Re: docValues error

2016-02-29 Thread David Santamauro
thanks Shawn, that seems to be the error exactly. On 02/29/2016 09:22 AM, Shawn Heisey wrote: On 2/28/2016 3:31 PM, David Santamauro wrote: I'm porting a 4.8 schema to 5.3 and I came across this new error when I tried to group.field=f1: unexpected docvalues type SORTED_SET for field 'f1'

Re: docValues error

2016-02-29 Thread Shawn Heisey
On 2/28/2016 3:31 PM, David Santamauro wrote: > > I'm porting a 4.8 schema to 5.3 and I came across this new error when > I tried to group.field=f1: > > unexpected docvalues type SORTED_SET for field 'f1' (expected=SORTED). > Use UninvertingReader or index with docvalues. > > f1 is defined as > >

[Migration Solr4 to Solr5] Collection reload error

2016-02-29 Thread Gerald Reinhart
Hi, We are facing an issue during a migration from Solr4 to Solr5. Given - migration from solr 4.10.4 to 5.4.1 - 2 collections - cloud with one leader and several replicas - in solrconfig.xml: maxWarmingSearchers=1 - no code change When collection reload using

RE: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread jimi.hullegard
Hi Jan, Well, I have very likely confused some old documentation to be up to date, but all I did was to google for "ExtendedDisMax" and clicked on the first result: https://wiki.apache.org/solr/ExtendedDisMax I could only assume that this was a valid page since it belongs to

SolrCloud - Strategy for recovering cluster states

2016-02-29 Thread danny teichthal
Hi, I would like to describe a process we use for overcoming problems in cluster state when we have networking issues. Would appreciate if anyone can answer about what are the flaws on this solution and what is the best practice for recovery in case of network problems involving zookeeper. I'm

RE: Solr regex documenation

2016-02-29 Thread Markus Jelsma
Hmm, if you have some stemming algorithm on that field, [a-z]+works is never going to work but [a-z]+work should. If the field contains Juniper Networks, [a-z]+works is not going to be found due to -s being stripped. But if the field is not tokenized net[a-z]+ is also not going to find

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Jack Krupansky
There is nothing wrong with features that appear to be automagical - that should in fact be a goal for all modern software systems. Of course, there is no magic, it's all real logic and any magic is purely appearance - it's just that the underlying logic may be complex and not obvious to an

Non-contigous terms in SuggestComponent

2016-02-29 Thread Alfonso Muñoz-Pomer Fuentes
Hi all. I’ve been reading through the Suggester component in Solr at https://cwiki.apache.org/confluence/display/solr/Suggester. I have a couple of questions regarding it which I haven’t been able to find the answer for in that page or anywhere else. Is there a way to get suggestions from

Re: Solr regex documenation

2016-02-29 Thread Anil
yes. when i search on juniper networks without regex, i can see the results. But when I search on net[a-z]+ , i could not see juniper networks. i have looked all the documents in the results, could not find it. Thank you, Anil On 29 February 2016 at 18:42, Markus Jelsma

RE: Solr regex documenation

2016-02-29 Thread Markus Jelsma
Hmm, is the field indexed? A field:/[a-z]%2Bwork/ works fine overhere. Markus -Original message- > From:Anil > Sent: Monday 29th February 2016 13:24 > To: solr-user@lucene.apache.org > Subject: Re: Solr regex documenation > > Yes Markus. > > On 29 February 2016 at

Re: docValues error

2016-02-29 Thread David Santamauro
On 02/29/2016 07:59 AM, Tom Evans wrote: On Mon, Feb 29, 2016 at 11:43 AM, David Santamauro wrote: You will have noticed below, the field definition does not contain multiValues=true What version of the schema are you using? In pre 1.1 schemas,

Re: docValues error

2016-02-29 Thread Tom Evans
On Mon, Feb 29, 2016 at 11:43 AM, David Santamauro wrote: > You will have noticed below, the field definition does not contain > multiValues=true What version of the schema are you using? In pre 1.1 schemas, multiValued="true" is the default if it is omitted. Cheers

Re: Prevent the SSL Keystore and Truststore password from showing up in the Solr Admin and Linux processes (Solr 5.2.1)

2016-02-29 Thread Jeff Wu
Hi Katherine, we had exact the same issue, we need to protect our password. Anyone who can access to solr server can do "ps -elf|grep java" to grep the solr commandline, and it has all the password in plain text. The /bin/solr shell will set 10 related system property: SOLR_SSL_OPTS="

Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-29 Thread Mugeesh Husain
Hi Elaine, Thank for your reply I did try without grouping then it is working fine. do you have any idea how we resolve these issue ? -- View this message in context:

Re: Solr regex documenation

2016-02-29 Thread Anil
Yes Markus. On 29 February 2016 at 15:54, Markus Jelsma wrote: > Hi - do you enclose the regex in slashes? Do you url encode the + sign? > Markus > > > > -Original message- > > From:Anil > > Sent: Monday 29th February 2016 7:45 > > To:

Re: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread Jan Høydahl
Hi Jimi, I believe you may be confusing some old config and thus was lead to believe that you need to pre-configure anything in order to start using dismax / edismax. In ealier versions of Solr, there was both a named “dismax” as well as a named “dismax”, setting the defType parameter to

Re: docValues error

2016-02-29 Thread David Santamauro
On 02/29/2016 06:05 AM, Mikhail Khludnev wrote: On Mon, Feb 29, 2016 at 12:43 PM, David Santamauro < david.santama...@gmail.com> wrote: unexpected docvalues type SORTED_SET for field 'f1' (expected=SORTED). Use UninvertingReader or index with docvalues. DocValues is primary citizen api

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Binoy Dalal
A stemmer does not just reduce plurals to their singular forms. It is more of a rule based approach to reduce a word to its root. You should try a lemmatizer if you want a more dictionary based approach although lemmatizers also mostly reduce a word to its root. If you want only a plural to

Re: Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Emir Arnautovic
Hi Derek, Why does aggressive stemming worries you? You might have false positives, but that is desired behavior in most cases. In your case "iphone" documents will also be returned for "iphon" query. Is this something that is not desired behavior? You can have more than one field if you want

Re: docValues error

2016-02-29 Thread Mikhail Khludnev
On Mon, Feb 29, 2016 at 12:43 PM, David Santamauro < david.santama...@gmail.com> wrote: > > So I started over (deleted all documents), re-deployed configs to > zookeeper and reloaded the collection. > > This error still appears when I group.field=f1 > > unexpected docvalues type SORTED_SET for

RE: Solr regex documenation

2016-02-29 Thread Markus Jelsma
Hi - do you enclose the regex in slashes? Do you url encode the + sign? Markus -Original message- > From:Anil > Sent: Monday 29th February 2016 7:45 > To: solr-user@lucene.apache.org > Subject: Re: Solr regex documenation > > HI , > > i am using [a-z]+works. i

Re: docValues error

2016-02-29 Thread David Santamauro
So I started over (deleted all documents), re-deployed configs to zookeeper and reloaded the collection. This error still appears when I group.field=f1 unexpected docvalues type SORTED_SET for field 'f1' (expected=SORTED). Use UninvertingReader or index with docvalues. What exactly does

Filter factory to reduce word from plural forms to singular forms correctly?

2016-02-29 Thread Derek Poh
Hi I am using EnglishMinimalStemFilterFactory to reducewords in plural forms to singular forms. The filter factory is not reducingthe plural formof 'es' to the singular form correctly. It is reducing correctly for plural form of 's'. "boxes" is reduced to "boxe" instead of "box" "glasses" to

RE: ExtendedDisMax configuration nowhere to be found

2016-02-29 Thread jimi.hullegard
There is no need to deliberately misinterpret what I wrote. What I was trying to say was that "automagical" things don't belong in a professional environment, because it is hiding important information from people. And this is bad as it is, but if it on top of that is the *intended* meaning for