String index out of range exception from Spell check

2015-09-27 Thread davidphilip cherian
There are irregular exceptions from spell check component. Below is the stack trace. This is not common for all the q terms but have often seen them occurring for specific queries after enabling spellcheck.collate method. String index out of range: -3 java.lang.StringIndexOutOfBoundsException

position of the search term

2015-09-27 Thread Mark Fenbers
For the brief period that I had spell-checking working, I noticed that the results record had the start/end position within the text of the misspelled word. Is there anyway to get the same start/end position when doing a search? I want to be able to highlight the search term in the text. Def

Re: faceting is unusable slow since upgrade to 5.3.0

2015-09-27 Thread Mikhail Khludnev
On Sun, Sep 27, 2015 at 2:00 PM, Uwe Reh wrote: > When 5.4 with SOLR-7730 will be released, I will start to use docValues. > Going this way, seems more straight forward to me. Sure. Giving your answers docValues facets has a really good chance to perform in your index after SOLR-7730. It's real

Re: New Project setup too clunky

2015-09-27 Thread Mark Fenbers
On 9/27/2015 12:49 PM, Alexandre Rafalovitch wrote: Mark, Thank you for your valuable feedback. The newbie's views are always appreciated. Admin Admin UI command is designed for creating a collection based on the configuration you already have. Obviously, it makes that point somewhat less than

Re: query parsing

2015-09-27 Thread Mark Fenbers
I am delighted to announce that I have it all working again! Well, not all, just the searching! I deleted my core and created a new one from the command-line (solr create_core -c EventLog2) using the basic_configs option. Then I had to add my columns to the schema.xml and the dataimport handl

Re: Sleep function query a big security hole?

2015-09-27 Thread Doug Turnbull
Great! Thanks -Doug On Sun, Sep 27, 2015 at 9:28 AM, Ishan Chattopadhyaya < ichattopadhy...@gmail.com> wrote: > +1, I agree. Opened https://issues.apache.org/jira/browse/SOLR-8099 > Thanks, > Ishan > > On Sun, Sep 27, 2015 at 5:22 AM, Doug Turnbull < > dturnb...@opensourceconnections.com> wrote:

Re: New Project setup too clunky

2015-09-27 Thread Alexandre Rafalovitch
Mark, Thank you for your valuable feedback. The newbie's views are always appreciated. Admin Admin UI command is designed for creating a collection based on the configuration you already have. Obviously, it makes that point somewhat less than obvious. To create a new collection with configuratio

Re: Sleep function query a big security hole?

2015-09-27 Thread Ishan Chattopadhyaya
+1, I agree. Opened https://issues.apache.org/jira/browse/SOLR-8099 Thanks, Ishan On Sun, Sep 27, 2015 at 5:22 AM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Relevant code > > http://grepcode.com/file/repo1.maven.org/maven2/org.apache.solr/solr-core/5.2.0/org/apache/solr/search

Re: faceting is unusable slow since upgrade to 5.3.0

2015-09-27 Thread Uwe Reh
Hi Mikhail, is this, what you've requested? lookups: 34084 hits: 34067 hitratio: 1 inserts: 34 evictions: 0 ... item_author_facet: {field=author_facet,memSize=104189615,tindexSize=789195,time=16901,phase1=16534,nTerms=3989851,bigTerms=0,termInstances=16214154,uses=4065} item_topic_facet: {fiel

Re: faceting is unusable slow since upgrade to 5.3.0

2015-09-27 Thread Uwe Reh
Hi Mikhail, thanks for the hint, and "no" it wasn't obvious for me. :-) But I think, for us it's better to remain at 4.10.3 and observe the evolution of SOLR-8096. When 5.4 with SOLR-7730 will be released, I will start to use docValues. Going this way, seems more straight forward to me. Uwe