Faceting and Variable Buckets

2012-04-16 Thread Ben McCarthy
Hello, Just wondering if the following is possible: We need to produce facets on ranges but they do not follow a steady increment which is all I can see SOLR can produce. Im looking for a way to produce facets on a price field: 0-1000 1000-5000 5000-1 1-2 Any suggestions with

RE: need help to integrate SolrJ with my web application.

2012-04-16 Thread Ben McCarthy
Hello, When I have seen this it usually means the SOLR you are trying to connect to is not available. Do you have it installed on: http://localhost:8080/solr Try opening that address in your browser. If your running the example solr using the embedded Jetty you wont be on 8080 :D Hope

RE: Solr data export to CSV File

2012-04-13 Thread Ben McCarthy
A combination of the CSV response writer and SOLRJ to page through all of the results sending it to something like apache commons fileutils: FileUtils.writeStringToFile(new File(output.csv), outputLine (line.separator), true); Would be quiet quick to knock up in Java. Thanks

Errors during indexing

2012-04-13 Thread Ben McCarthy
Hello We have just switched to Solr4 as we needed the ability to return geodist() along with our results. I use a simple multithreaded java app and solr to ingest the data. We keep seeing the following: 13-Apr-2012 15:50:10 org.apache.solr.common.SolrException log SEVERE:

RE: Simple Slave Replication Question

2012-03-26 Thread Ben McCarthy
:57 AM, Ben McCarthy ben.mccar...@tradermedia.co.uk wrote: I just have a index directory. I push the documents through with a change to a field. Im using SOLRJ to do this. Im using the guide from the wiki to setup the replication. When the feed of updates to the master finishes I call

RE: Simple Slave Replication Question

2012-03-26 Thread Ben McCarthy
people just do the optimize once a day (or week or whatever) during off-peak hours as a compromise. Best Erick On Mon, Mar 26, 2012 at 5:02 AM, Ben McCarthy ben.mccar...@tradermedia.co.uk wrote: Hello, Had to leave the office so didn't get a chance to reply.  Nothing in the logs.  Just ran

Simple Slave Replication Question

2012-03-23 Thread Ben McCarthy
Hello, Im looking at the replication from a master to a number of slaves. I have configured it and it appears to be working. When updating 40K records on the master is it standard to always copy over the full index, currently 5gb in size. If this is standard what do people do who have

RE: Simple Slave Replication Question

2012-03-23 Thread Ben McCarthy
move around 150G/hour when hooking up a new slave to the master. /Martin On Fri, Mar 23, 2012 at 12:33 PM, Ben McCarthy ben.mccar...@tradermedia.co.uk wrote: Hello, Im looking at the replication from a master to a number of slaves. I have configured it and it appears to be working. When

RE: Simple Slave Replication Question

2012-03-23 Thread Ben McCarthy
. Are you committing or optimizing on the slaves? After replication, the index directory on the slaves is called index or index.timestamp? Tomás On Fri, Mar 23, 2012 at 11:18 AM, Ben McCarthy ben.mccar...@tradermedia.co.uk wrote: So do you just simpy address this with big nic and network pipes

Data Import Handler Delta Import and Debug Mode Help

2011-12-08 Thread Ben McCarthy
Good Afternoon, Im looking at Deltas via a DeltaImportHandler. I was running Solr 1.4.1 but just upgraded to 3.5. Previously I was able to run debug and verbose from: http://localhost:8080/solr/admin/dataimport.jsp?handler=/advert But since upgrading when choosing these options the