Re: How can I optimize Sorting on multiple text fields

2012-06-24 Thread Alok Bhandari
Thanks for the inputs. Eric, Yes I was referring to the String data-type. The reason I was asking this is that for a single customer we have multiple users and each user may apply different search criteria before sorting on the field so if we can cache the sorted results then it may improve the us

Re: Custom close to index metadata / pass commit data to writer.commit

2012-06-24 Thread Erick Erickson
Yeah, it's a bit kludgy I admit. But it's usable right now, pragmatism rules sometimes... But the never returning this doc is actually relatively easy, just put your data in a field that no other document has. There's no requirement that any document in Solr have any field in common with any other

Re: Custom close to index metadata / pass commit data to writer.commit

2012-06-24 Thread Jozef Vilcek
On Sun, Jun 24, 2012 at 1:18 AM, Erick Erickson wrote: > see: https://issues.apache.org/jira/browse/SOLR-2701. > Hey, that is what I want :) Thanks for the reference. I am unlucky that there seems to be no progress on this ( as far as I can tell ). I would be able to use commitData in rather non-

Re: Solr 4.0 with Near Real Time and Faceted Search in Replicated topology

2012-06-24 Thread Mark Miller
Solrcloud won't change anything for you. Performance will depend as always. If the std faceting methods are too slow (really fast reopening can limit the use of caches), there is a faceting method that works per segment I'm told. That may help a lot in some cases. There are trade offs, so you

Re: Having an issue with the solr.PatternReplaceCharFilterFactory not replacing characters correctly

2012-06-24 Thread Jack Krupansky
Yeah, it was kind of unfortunate that the posted example in SOLR-1653 used "replaceWith" but the committed code used "replacement". The detailed commentary on the issue notes the change, but the change occurred between the last posted patch and the commit. The source code and javadoc "rule", bu

Re: Store matching synonyms only

2012-06-24 Thread arc68274
Jack, Lee, thanks so much for your suggestions. On Sat, Jun 23, 2012 at 11:25 PM, Lee Carroll wrote: > If you go down the keep-word route you can return the "tags" to the > front end app using a facet field query. This often fits with many > use-cases for doc tags. > > lee c > > On 23 June 2012 2

Re: Having an issue with the solr.PatternReplaceCharFilterFactory not replacing characters correctly

2012-06-24 Thread Timothy Potter
Awesome find Jack - thanks! Copied the "replaceWith" bit from http://lucidworks.lucidimagination.com/display/solr/CharFilterFactories Cheers, Tim On Sat, Jun 23, 2012 at 8:16 PM, Jack Krupansky wrote: > The char filter's attribute name is "replacement", not "replaceWith". I > tried it and it see