Re: Static Fields Performance vs Dynamic Fields Performance

2014-09-22 Thread mark12345
Thanks for that link. From what I read the performance difference is negligible, especially if I would just be replacing one static field with a dynamic one. Erick Erickson wrote > Sep 14, 2014; 12:06pm Re: Solr Dynamic Field Performance > > > Dynamic fields, once they are actually _in_ a docu

Static Fields Performance vs Dynamic Fields Performance

2014-09-21 Thread mark12345
Are there any performance differences in using Dynamic Fields over Static Fields? I read an earlier post on Aug 12, 2008 that suggested there is nothing significant (See link below). Is this still the case? http://lucene.472066.n3.nabble.com/Static-Fields-vs-Dynamic-Fields-td487639.html --

Re: Ubuntu 14.04 & Tomcat 7.0.52 & Solr 4.9 - org.apache.solr.common.SolrException: Invalid chunk header

2014-08-14 Thread mark12345
I am pretty sure I have resolved this issue down to the HttpClient version SolrJ was using. The SolrJ 4.9.0 Maven Library (org.apache.solr:solr-solrj) has a dependency on HttpClient version org.apache.httpcomponents:httpclient 4.3.1, however I had explicitly declared another version org.apache.htt

Ubuntu 14.04 & Tomcat 7.0.52 & Solr 4.9 - org.apache.solr.common.SolrException: Invalid chunk header

2014-08-14 Thread mark12345
I seem frequently getting the following exception in my Solr 4.9 logs, "org.apache.solr.common.SolrException: Invalid chunk header". These exceptions still continue to happen even if I throttle my Solr requests. Does anyone have any suggestions on how to address or work-around his issue? I have

Re: Solr 4.2 rollback not working

2013-05-09 Thread mark12345
So for all current versions of Solr, rollback will not work for SolrCloud? Will this change in the future, or will rollback always be unsupported for SolrCloud? This did catch me by surprise. Should the SolrJ documentation be updated to reflect this behavior? http://lucene.apache.org/solr/4_3_

Re: Solr 4.2 rollback not working

2013-05-02 Thread mark12345
re using Solr 4.2.1, which claims to have fixed this issue. I have > some logging indicating that the rollback is not broadcasted to other > nodes in solr. So only one node in the cluster gets the rollback but not > the others. > > > > Thanks, > Dipti > > On 5/2/13

The HttpSolrServer "add(Collection docs)" method is not atomic.

2013-05-02 Thread mark12345
One thing I noticed is that while the HttpSolrServer "add(SolrInputDocument doc)" method is atomic (Either a bean is added or an exception is thrown), the HttpSolrServer "add(Collection docs)" method is not atomic. Question: Is there a way to commit multiple documents/beans in a transaction/tog

Re: SolrJ / Solr Two Phase Commit

2013-05-02 Thread mark12345
her we're talking about Cloud or > not. > > Basically, commits in Solr are about controlling visibility more than > anything, although now with Cloud, they have resource consumption and > lifecycle ramifications as well. > On May 2, 2013 10:01 PM, "mark12345" wrote: > >>

Re: SolrJ / Solr Two Phase Commit

2013-05-02 Thread mark12345
By saying commits in Solr are "global", do you mean per Solr deployment, per HttpSolrServer instance, per thread, or something else? -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Solr-Two-Phase-Commit-tp4060399p4060584.html Sent from the Solr - User mailing list arch

Re: Solr 4.2 rollback not working

2013-05-02 Thread mark12345
What version of Solr are you using? 4.2.0 or 4.2.1? The following might be of interest to you: * https://issues.apache.org/jira/browse/SOLR-4605 * https://issues.apache.org/jira/browse/SOLR-4733

SolrJ / Solr Two Phase Commit

2013-05-02 Thread mark12345
I am wondering if it was possible to achieve SolrJ/Solr Two Phase Commit. Any examples? Any best practices? What I know: * Lucene offers Two Phase Commitvia it's index writer (prepareCommit() followed by either commit() or rollback()). http://lucene.apache.org/core/4_2_0/core/org/apache

Enumeration - SolrServer.queryAndStreamResponse vs custom streaming caching client.

2013-03-23 Thread mark12345
What are the performance characteristics and implications of the SolrServer classes queryAndStreamResponse method over large result sets ( One hundred thousand, one million records, etc ) ? http://lucene.apache.org/solr/4_2_0/solr-solrj/org/apache/solr/client/solrj/SolrServer.html#queryAndStreamRe

Re: Handling a closed IndexWriter in SOLR 4.0

2013-03-17 Thread mark12345
This looks similar to the issue I also have: * http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-td4046543.html *https://issues.apache.org/jira/browse

Re: Solr 4.1/4.2 - SolrException: Error opening new searcher - With JUnit test class

2013-03-17 Thread mark12345
Create JIRA Issue: https://issues.apache.org/jira/browse/SOLR-4605 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-tp4046543p4048420.html Sent from the Solr - User mail

Re: Solr 4.1/4.2 - SolrException: Error opening new searcher - With JUnit test class

2013-03-14 Thread mark12345
I wrote a simple test to reproduce a very similar stack trace to the above issue, where only some line numbers differences. Any ideas as to why the following happens? Any help would be very appreciated. * The test case: > @Test > public void documentCommitAndRollbackTest() throws Exc

Re: SolrException: Error opening new searcher

2013-03-13 Thread mark12345
Found the exception logs that match the notifications in http://localhost:8080/solr-app/#/~logging as quoted below: > 14:30:00 SEVERE SolrCore org.apache.solr.common.SolrException: Error > opening new searcher > 14:30:00 SEVERE SolrDispatchFilter > null:org.apache.solr.common.SolrException: Er

Re: SolrException: Error opening new searcher

2013-03-12 Thread mark12345
I am continuing to work on this problem. So will update this thread as I go. These are the only logs I have through the "http://localhost:8080/solr-app/#/~logging " interface. I am using tomcat to run the solr war. Is there anything I can do to get more descriptive logs? -- View this messag

Re: Solr _docid_ parameter

2013-03-12 Thread mark12345
The following relates directly to my question above. Thanks Erick. Erick Erickson wrote > Don't use the internal Lucene doc ID. It _will_ change, even the > relationship between existing docs will change. When cores are merged, the > Lucene doc IDs are renumbered. Segments are NOT merged in ins

Solr _docid_ parameter

2013-03-11 Thread mark12345
In Solr, I noticed that I can sort by the internal Lucene _docid_. -> http://wiki.apache.org/solr/CommonQueryParameters > You can sort by index id using sort=_docid_ asc or sort=_docid_ desc * I have also read the docid is represented by a

SolrException: Error opening new searcher

2013-03-11 Thread mark12345
I am running into issues where my Solr instance is behaving weirdly. After I get the SolrException "Error opening new searcher", my Solr instance fails to handle even the simplest of update requests. > http://lucene.472066.n3.nabble.com/exceeded-limit-of-maxWarmingSearchers-td494732.html I have

Re: Solr 4.x auto-increment/sequence/counter functionality.

2013-03-10 Thread mark12345
A slightly different approach. * I noticed that I can sort by the internal Lucene _docid_. -> http://wiki.apache.org/solr/CommonQueryParameters > You can sort by index id using sort=_docid_ asc or sort=_docid_ desc * I have also read the d

Re: Solr 4.x auto-increment/sequence/counter functionality.

2013-03-08 Thread mark12345
So I think I took the easiest option by creating an UpdateRequestProcessor implementation (I was unsure of the performance implications and object model of ScriptUpdateProcessor). The below DocumentCreationDetailsProcessorFactory class seems to achieve my aim of allowing me to sort my Solr Documen

Re: Solr 4.x auto-increment/sequence/counter functionality.

2013-03-06 Thread mark12345
Appending a random value only reduces the chance of a collision (And I need to ensure continuous uniqueness) and could hurt how the field is later sorted. I have not written a custom UpdateRequestProcessor before, is there a way to incorporate a Singleton that ensures one instance across a cluster