Re: Solr 4.3 Startup with Multiple Cores Hangs on "Registering Core"

2013-10-18 Thread Jonatan Fournier
Hello, I still have this issue using Solr 4.4, removing firstSearcher queries did make the problem go away. Note that I'm using Tomcat 7 and that if I'm using my own Java application launching an Embedded Solr Server pointing to the same Solr configuration the server fully starts with no hang. W

Solr 4.3 and SLF4j

2013-05-06 Thread Jonatan Fournier
Hi, I've read from http://wiki.apache.org/solr/SolrLogging that Solr no longer ships with Logging jars bundled into the WAR file. For simplicity in package management, other than Solr, I'm trying to stay with stock packages from Ubuntu 12.04 (e.g. Tomcat7 etc.) Now I'm trying to find out what do

Re: Duplicate in copyField

2012-09-18 Thread Jonatan Fournier
from my data importer script. Cheers, /jonathan On Tue, Sep 18, 2012 at 1:35 PM, Jonatan Fournier wrote: > Hi, > > I have something strange happening (4.0-BETA), I have a title field: > > omitNorms="true"/> > > And a copyField: > > > > Note that I d

Duplicate in copyField

2012-09-18 Thread Jonatan Fournier
Hi, I have something strange happening (4.0-BETA), I have a title field: And a copyField: Note that I don't have multivalue set for the title field, but I do end up with multiple value in my field: { "responseHeader":{ "status":0, "QTime":371, "params":{ "indent":"true",

Re: Index not loading

2012-08-15 Thread Jonatan Fournier
On Tue, Aug 14, 2012 at 5:37 PM, Jonatan Fournier wrote: > On Tue, Aug 14, 2012 at 10:25 AM, Erick Erickson > wrote: >> This is quite odd, it really sounds like you're not >> actually committing. So, some questions. >> >> 1> What happens if you search befor

Re: Index not loading

2012-08-14 Thread Jonatan Fournier
the index directory? Or you're > using a VM that restores a blank image? > > 5> When you do restart, are there any files at all > in your index directory? > > I really suspect you've got some configuration problem > here > > Best > Erick > > >

Re: Index not loading

2012-08-14 Thread Jonatan Fournier
be wrong other than the SolrServer in SolrJ? Cheers, /jonathan On Tue, Aug 14, 2012 at 12:30 PM, Jonatan Fournier wrote: > On Tue, Aug 14, 2012 at 11:14 AM, Jack Krupansky > wrote: >> If you send a dummy document using a curl command, without the commit >> option, does it au

Re: Index not loading

2012-08-14 Thread Jonatan Fournier
eRequest req = new UpdateRequest(); req.add(mySolrInputDocument); req.setCommitWithin(1); req.process(server); Cheers, /jonathan > > -- Jack Krupansky > > -Original Message- From: Jonatan Fournier > Sent: Tuesday, August 14, 2012 11:03 AM > To: solr-user@

Re: Index not loading

2012-08-14 Thread Jonatan Fournier
my data directory didn't exist and the 2 initial segment files are being created and all the rest deleted. > > I really suspect you've got some configuration problem > here Maybe, but other than playing with the compound file thingy I don't have any fancy config changes. Che

Index not loading

2012-08-13 Thread Jonatan Fournier
Hi, I'm using Solr 4.0.0-ALPHA and the EmbeddedSolrServer. Within my SolrJ application, the documents are added to the server using the commitWithin parameter (in my case 60s). After 1 day my 125 millions document are all added to the server and I can see 89G of index data files. I stop my SolrJ

Re: Updating document with the Solr Java API

2012-07-31 Thread Jonatan Fournier
On Tue, Jul 31, 2012 at 10:16 AM, Jonatan Fournier wrote: > Hi, > > What is the Java syntax to create an update document? > > I was using this in JSON to update/reset some fields of document 12345 > (it contains other fields, only updating those): > > { > "add&

Updating document with the Solr Java API

2012-07-31 Thread Jonatan Fournier
Hi, What is the Java syntax to create an update document? I was using this in JSON to update/reset some fields of document 12345 (it contains other fields, only updating those): { "add" : { "doc" : { "id":"12345", "foo":{"set":null}, "bar":{"set":"baz"} } } } Now I

Importing data to Solr

2012-07-19 Thread Jonatan Fournier
Hello, I was wondering if there's other ways to import data in Solr than posting xml/json/csv to the server URL (e.g. locally building the index). Is the DataImporter only for database? My data is in an enormous text file that is parsed in python, I get clean json/xml out of it if I want, but the

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier wrote: > Yonik, > > On Thu, Jul 12, 2012 at 12:52 PM, Yonik Seeley > wrote: >> On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier >> wrote: >>> On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson >>>&

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 1:43 PM, Yonik Seeley wrote: > On Fri, Jul 13, 2012 at 1:41 PM, Jonatan Fournier > wrote: >> On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley >> wrote: >>> On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier >>> wrote: >>>>

Re: Updating documents

2012-07-13 Thread Jonatan Fournier
On Fri, Jul 13, 2012 at 12:57 AM, Yonik Seeley wrote: > On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier > wrote: >> Is there a flag for: if document does not exist, create it for me? > > Not currently, but it certainly makes sense. > The implementation should be easy. Th

Re: Updating documents

2012-07-12 Thread Jonatan Fournier
Yonik, On Thu, Jul 12, 2012 at 12:52 PM, Yonik Seeley wrote: > On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier > wrote: >> On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson >>> The partial documents update that Jonatan references also requires >>> that all the

Re: Updating documents

2012-07-12 Thread Jonatan Fournier
d="false" are copyField (e.g. I don't need their content to rebuild the document), are they gonna be re-copied with the partial document update? -- jonatan > > You're best bet is to go back to your system-of-record for the data > and re-index the whole > document. &g

Re: Updating documents

2012-07-11 Thread Jonatan Fournier
On Wed, Jul 11, 2012 at 10:57 AM, Vinicius Carvalho wrote: > Hi there. > > I was checking the faq and found that solr does not support field updates > right. So I assume that in order to update a document, one should first > retrieve it by its Id and then change the required field and update the d