Highlights not returning after upgrading from 3.3 to 4.0

2012-10-25 Thread Daniel Skiles
I'm running some test on Solr 4.0 before putting it into production, and I've just encountered an issue with hit highlighting. I started by placing my index from 3.3 into a Solr 4.0 install. I then edited the field definition in the schema config to match my schema from 3.3, with the addition of

Field Collapsing and Record Filtering

2011-10-05 Thread Daniel Skiles
A while back I sent a question to the list about only returning the most recent version of a document, based on a numerical version field stored in each record. Someone suggested that I use field collapsing to do so, and in most cases it seems to work well. However, I've hit a snag and I'd apprec

Re: Generating large datasets for Solr proof-of-concept

2011-09-15 Thread Daniel Skiles
I've done it using SolrJ and a *lot *of of parallel processes feeding dummy data into the server. On Thu, Sep 15, 2011 at 4:54 PM, Pulkit Singhal wrote: > Hello Everyone, > > I have a goal of populating Solr with a million unique products in > order to create a test environment for a proof of con

Re: Where the heck do you put maxAnalyzedChars?

2011-08-25 Thread Daniel Skiles
Thanks. That seemed to do it. I was thrown by the section of documentation that said "This parameter makes sense for Highlighter only" and tried to put it in the various highlighter elements. On Wed, Aug 24, 2011 at 6:52 PM, Koji Sekiguchi wrote: > (11/08/25 5:29), Daniel Skiles

Re: automatically dealing with out of memory exceptions

2011-08-24 Thread Daniel Skiles
I've gotten around that by using the Java Service Wrapperfrom Tanuki Soft to restart the entire container. On Wed, Aug 24, 2011 at 5:28 PM, Jason Toy wrote: > After running a combination of different queries, my solr server eventually > is unable to complete ce

Where the heck do you put maxAnalyzedChars?

2011-08-24 Thread Daniel Skiles
I have a very large field in my index that I need to highlight. Where in the config file do I set the maxAnalyzedChars in order to make this work? Has anyone successfully done this?

Re: commitWithin + SolrJ

2011-08-24 Thread Daniel Skiles
I ended up doing this with request.process(server) on an UpdateRequest class. On Wed, Aug 24, 2011 at 2:07 PM, Daniel Skiles wrote: > What is the cleanest way to use the commitWithin directive with SolrJ? > AbstractUpdateRequest has a setCommitWithin() method, but I don't see how to

commitWithin + SolrJ

2011-08-24 Thread Daniel Skiles
What is the cleanest way to use the commitWithin directive with SolrJ? AbstractUpdateRequest has a setCommitWithin() method, but I don't see how to hook that into SolrServer.add(SolrInputDocument doc). Do I need to use SolrServer.request(), or do I need to use some other method? Thanks.

Re: SSD experience

2011-08-22 Thread Daniel Skiles
I haven't tried it with Solr yet, but with straight Lucene about two years ago we saw about a 40% boost in performance on our tests with no changes except the disk. On Mon, Aug 22, 2011 at 10:54 AM, Rich Cariens wrote: > Ahoy ahoy! > > Does anyone have any experiences or stories they can share wi

Re: Return records based on aggregate functions?

2011-08-18 Thread Daniel Skiles
> always searching for *exactly* the full contents of the field, > you'll have problems > > Best > Erick > > On Wed, Aug 17, 2011 at 2:20 PM, Daniel Skiles > wrote: > > I've recently started using Solr and I'm stumped by a problem I'm > cu

Re: Return records based on aggregate functions?

2011-08-17 Thread Daniel Skiles
lapsing than what was committed so it > might not be 100% accurate. > http://www.lucidimagination.com/search/document/148ba23aec5ee2d8/solrquery_api_for_adding_group_filter > > James Dyer > E-Commerce Systems > Ingram Content Group > (615) 213-4311 > > > -Original Messag

Re: Return records based on aggregate functions?

2011-08-17 Thread Daniel Skiles
che.org/solr/FieldCollapsing). Perhaps try something like: > > &group=true&group.field=documentId&group.limit=1&group.sort=version desc > > James Dyer > E-Commerce Systems > Ingram Content Group > (615) 213-4311 > > > -Original Message- > From: Daniel

Return records based on aggregate functions?

2011-08-17 Thread Daniel Skiles
I've recently started using Solr and I'm stumped by a problem I'm currently encountering. Given that I can't really find anything close to what I'm trying to do on Google or the mailing lists, I figured I'd ask if anyone here had suggestions on how to do it. I currently have a schema that looks m