Outstanding Jira issue

2013-05-08 Thread Shane Perry
I opened a Jira issue in Oct of 2011 which is still outstanding. I've boosted the priority to Critical as each time I've upgraded Solr, I've had to manually patch and build the jars. There is a patch (for 3.6) attached to the ticket. Is there someone with commit access who can take a look and pok

Re: Outstanding Jira issue

2013-05-08 Thread Shane Perry
actual problem. This would allow consumers from having to avoid the scenario or manually patching the file to ignore the problem. On Wed, May 8, 2013 at 11:49 AM, Shawn Heisey wrote: > On 5/8/2013 9:20 AM, Shane Perry wrote: > >> I opened a Jira issue in Oct of 2011 which is still o

Inaccurate wiki documentation?

2013-05-20 Thread Shane Perry
I am in the process of setting up a core using Solr 4.3. On the Core Discovery wiki page it states: As of SOLR-4196, there's a new way of defining cores. Essentially, it is no longer necessary to define cores in solr.xml. In fac

Sorting by field is slow

2013-06-12 Thread Shane Perry
In upgrading from Solr 3.6.1 to 4.3.0, our query response time has increased exponentially. After testing in 4.3.0 it appears the same query (with 1 matching document) returns after 100 ms without sorting but takes 1 minute when sorting by a text field. I've looked around but haven't yet found a

Re: Sorting by field is slow

2013-06-12 Thread Shane Perry
gt; Are you actually sorting on a "text" field, as opposed to a "string" field? > > Of course, it's always possible that maybe you're hitting some odd OOM/GC > condition as a result of Solr growing between releases. > > -- Jack Krupansky > >

Re: Sorting by field is slow

2013-06-12 Thread Shane Perry
ell use a > string field and be done with it, it's possible you're > hitting some edge case. > > Did you just copy your 3.6 schema and configs to > 4.3? Did you re-index? > > Best > Erick > > On Wed, Jun 12, 2013 at 5:11 PM, Shane Perry wrote: > > Thanks

Re: Sorting by field is slow

2013-06-13 Thread Shane Perry
> before, so it's _likely_ some innocent-seeming config has changed. > I'm sure it'll be obvious once you find it ... > > Erick > > On Wed, Jun 12, 2013 at 11:51 PM, Shane Perry wrote: > > Erick, > > > > I agree, it doesn't make sense. I man

Re: Sorting by field is slow

2013-06-13 Thread Shane Perry
'm not yet certain which path is the cause. I'll continue to dig through the code but am on thin ice so input would be great. Shane On Thu, Jun 13, 2013 at 7:56 AM, Shane Perry wrote: > Erick, > > We do have soft commits turned. Initially, autoCommit was set at 15000 > and au

Re: Sorting by field is slow

2013-06-17 Thread Shane Perry
y be at the end of my knowledge without really getting into the code so any help at this point would be greatly appreciated. Shane On Thu, Jun 13, 2013 at 4:11 PM, Shane Perry wrote: > I've dug through the code and have narrowed the delay down

Re: Sorting by field is slow

2013-06-17 Thread Shane Perry
Turns out it was a case of an oversite. My warming queries weren't setting the sort order and as a result don't successfully complete. After setting the sort order things appear to be responding quickly. Thanks for the help. On Mon, Jun 17, 2013 at 9:45 AM, Shane Perry wrote: >

Re: solr performance problem from 4.3.0 with sorting

2013-06-20 Thread Shane Perry
Ariel, I just went up against a similar issue with upgrading from 3.6.1 to 4.3.0. In my case, my solrconfig.xml for 4.3.0 (which was based on my 3.6.1 file) did not provide a newSearcher or firstSearcher warming query. After adding a query to each listener, my query speeds drastically increased.

ClassCastException when using FieldAnalysisRequest

2011-10-14 Thread Shane Perry
Hi, Using Solr 3.4.0, I am trying to do a field analysis via the FieldAnalysisRequest feature in solrj.  During the process() call, the following ClassCastException is thrown: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List        at org.apache.solr.client.solrj.r

Re: ClassCastException when using FieldAnalysisRequest

2011-10-14 Thread Shane Perry
After looking at this more, it appears that solr.HTMLStripCharFilterFactory does not return a list which AnalysisResponseBase is expecting. I have created a bug ticket (https://issues.apache.org/jira/browse/SOLR-2834) On Fri, Oct 14, 2011 at 8:28 AM, Shane Perry wrote: > Hi, > > U

DIH - Closing ResultSet in JdbcDataSource

2011-01-07 Thread Shane Perry
Hi, I am in the process of migrating our system from Postgres 8.4 to Solr 1.4.1. Our system is fairly complex and as a result, I have had to define 19 base entities in the data-config.xml definition file. Each of these entities executes 5 queries. When doing a full-import, as each entity comple

Re: DIH - Closing ResultSet in JdbcDataSource

2011-01-10 Thread Shane Perry
f I find a cause/solution. Shane On Sat, Jan 8, 2011 at 4:04 AM, Gora Mohanty wrote: > On Sat, Jan 8, 2011 at 1:10 AM, Shane Perry wrote: > > Hi, > > > > I am in the process of migrating our system from Postgres 8.4 to Solr > > 1.4.1. Our system is fairly complex an

Re: DIH - Closing ResultSet in JdbcDataSource

2011-01-11 Thread Shane Perry
On Mon, Jan 10, 2011 at 7:14 AM, Shane Perry wrote: > Gora, > > Thanks for the response. After taking another look, you are correct about > the hasnext() closing the ResultSet object (1.4.1 as well as 1.4.0). I > didn't recognize the case difference in the two function c

Re: DIH - Closing ResultSet in JdbcDataSource

2011-01-12 Thread Shane Perry
e.org/jira/browse/SOLR-2313. On Tue, Jan 11, 2011 at 2:54 PM, Shane Perry wrote: > By placing some strategic debug messages, I have found that the JDBC > connections are not being closed until all elements have been > processed (in the entire config file). A simplified example woul

Writing on master while replicating to slave

2011-02-10 Thread Shane Perry
Hi, When a slave is replicating from the master instance, it appears a write lock is created. Will this lock cause issues with writing to the master while the replication is occurring or does SOLR have some queuing that occurs to prevent the actual write until the replication is complete? I've be

Re: rejected email

2011-02-10 Thread Shane Perry
I tried posting from gmail this morning and had it rejected. When I resent as plaintext, it went through. On Thu, Feb 10, 2011 at 11:51 AM, Erick Erickson wrote: > Anyone else having problems with the Solr users list suddenly deciding > everything you send is spam? For the last couple of days I'

Re: Omit hour-min-sec in search?

2011-03-03 Thread Shane Perry
Not sure if there is a means of doing explicitly what you ask, but you could do a date range: +mydate:[-MM-DD 0:0:0 TO -MM-DD 11:59:59] On Thu, Mar 3, 2011 at 9:14 AM, bbarani wrote: > Hi, > > Is there a way to omit hour-min-sec in SOLR date field during search? > > I have indexed a fiel

ICUTokenizer ArrayIndexOutOfBounds

2012-10-17 Thread Shane Perry
Hi, I've been playing around with using the ICUTokenizer from 4.0.0. Using the code below, I was receiving an ArrayIndexOutOfBounds exception on the call to tokenizer.incrementToken(). Looking at the ICUTokenizer source, I can see why this is occuring (usableLength defaults to -1).