Solr 4.2.x replication events on slaves

2013-04-11 Thread Stephane Bailliez
In Solr 3.x, I was relying on a postCommit call to a listener in the update handler to perform data update to caches, this data was used to perform 'realtime' filtering on the documents. So something like: updateHandler ... ... listener event=postCommit

Re: Per-User Sorting on an ExternalFileField

2012-04-26 Thread Stephane Bailliez
On Fri, Apr 27, 2012 at 12:07 AM, Phill Tornroth famousactr...@gmail.comwrote: I'm using Solr 3.5. Does anyone have a suggestion as to how to end up adding this extra dimension so that I can do per-user relevance? It seems like an oft-asked, rarely-answered question. Use a function that make

Post Sorting hook before the doc slicing.

2012-03-29 Thread Stephane Bailliez
I'm currently looking to see what would be a decent way to implement a scrolling window in the result set when looking for an item. Basically, I need to find item X in the result set and return say N items before and N items after. - N items -- Item X --- N items So I was thinking a

Re: Re:how to monitor solr in newrelic

2012-02-13 Thread Stephane Bailliez
Just run the java agent as indicated, solr will be detected and 3 new menu items will be available automatically on the app: solr caches, solr updates, solr requests. On Mon, Feb 13, 2012 at 10:56 AM, solr lakshmi2...@gmail.com wrote: My question is how to check solr perfromance in

getLuceneVersion parsing xml node on every request

2011-05-03 Thread Stephane Bailliez
I' m using Solr 3.1 right now. I was looking at a threadump trying to figure out why queries were not exactly fast and noticed that it keeps parsing xml over and over from the schema to get the lucene version. SolrQueryParser are created for each request and in the constructor there is a call

Re: getLuceneVersion parsing xml node on every request

2011-05-03 Thread Stephane Bailliez
On Tue, May 3, 2011 at 1:45 PM, Stephane Bailliez sbaill...@gmail.com wrote: I' m using Solr 3.1 right now. I was looking at a threadump trying to figure out why queries were not exactly fast and noticed that it keeps parsing xml over and over from the schema to get the lucene version

Filter Query with multiple values

2009-05-06 Thread Stephane Bailliez
Hello, I cannot seem to find a way with the syntax to express multiple values for a filter query. I have documents with field 'type' : a, b, c, d and I'd like to only search within documents a and b. One way to do it would be to work on exclusion fq like: fq=-type:cfq=-type:d but then all hell

Re: Filter Query with multiple values

2009-05-06 Thread Stephane Bailliez
Sweet, thanks Erik ! On Wed, May 6, 2009 at 6:01 PM, Erik Hatcher e...@ehatchersolutions.comwrote: On May 6, 2009, at 11:38 AM, Stephane Bailliez wrote: Hello, I cannot seem to find a way with the syntax to express multiple values for a filter query. I have documents with field 'type

Re: Dealing with field values as key/value pairs

2008-12-02 Thread Stephane Bailliez
that make sense ? -- stephane Noble Paul നോബിള്‍ नोब्ळ् wrote: In the end lucene stores stuff as strings. Even if you do store your data as map FieldType , Solr May not be able to treat it like a map. So it is fine to put is the map as one single string On Mon, Dec 1, 2008 at 10:07 PM, Stephane

Dealing with field values as key/value pairs

2008-12-01 Thread Stephane Bailliez
Hi all, I'm looking for ideas about how to best deal with a situation where I need to deal with storing key/values pairs in the index for consumption in the client. Typical example would be to have a document with multiple genres where for simplicity reasons i'd like to send both the 'id'