Stemming and other tokenizers

2011-09-09 Thread Patrick Sauts
Hello, I want to implement some king of AutoStemming that will detect the language of a field based on a tag at the start of this field like #en# my field is stored on disc but I don't want this tag to be stored. Is there a way to avoid this field to be stored ? To me all the filters and the t

Re: Master Slave Question

2011-09-10 Thread Patrick Sauts
Real Time indexing (solr 4) or decrease replication poll and auto commit time. 2011/9/10 Jamie Johnson > Is it appropriate to query the master servers when replicating? I ask > because there could be a case where we index say 50 documents to the > master, they have not yet been replicated and a

Re: Stemming and other tokenizers

2011-09-11 Thread Patrick Sauts
age" field > with the known language, you will probably get the desired effect. > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Solr Training - www.solrtraining.com > > On 10. sep. 2011, at 03:24, Patrick Sauts wrote: > > >

RE: Weird behaviors with not operators.

2011-09-12 Thread Patrick Sauts
Maybe this will answer your question http://wiki.apache.org/solr/FAQ Why does 'foo AND -baz' match docs, but 'foo AND (-bar)' doesn't ? Boolean queries must have at least one "positive" expression (ie; MUST or SHOULD) in order to match. Solr tries to help with this, and if asked to execute a Bool

RE: Weird behaviors with not operators.

2011-09-12 Thread Patrick Sauts
I mean it's a known bug. Hostetter AND (-chris *:*) Should do the trick. Depending on your request. NAME:(-chris *:*) -Original Message- From: Patrick Sauts [mailto:patrick.via...@gmail.com] Sent: Monday, September 12, 2011 3:57 PM To: solr-user@lucene.apache.org Subject: RE:

facet.method=fc

2011-09-14 Thread Patrick Sauts
Is the parameter facet.method=fc still needed ? Thank you. Patrick.

Limitations of prohibited clausses in sub-expression - pure negative query

2010-09-28 Thread Patrick Sauts
I can find the answer but is this problem solved in Solr 1.4.1 ? Thx for your answers.

RE: Limitations of prohibited clausses in sub-expression - pure negative query

2010-09-28 Thread Patrick Sauts
Maybe SOLR-80 jira issue ? As written in Solr 1.4 book; "pure negative query doesn't work correctly ." you have to add 'AND *:* ' thx From: Patrick Sauts [mailto:patrick.via...@gmail.com] Sent: mardi 28 septembre 2010 11:53 To: 'solr-user@lucene.ap

Re: Huge load and long response times during search

2009-12-18 Thread Patrick Sauts
Try solr.FastLRUCache instead of solr.LRUCache it's the new cache gesture for solr 1.4. And maybe true in main index section or diminish mergefactor see http://wiki.apache.org/lucene-java/ImproveSearchingSpeed Tomasz Kępski a écrit : Hi, I'm using SOLR(1.4) to search among about 3,500,000 d

StreamingUpdateSolrServer

2009-12-30 Thread Patrick Sauts
Hi All, I'm testing StreamingUpdateSolrServer for indexing but I don't see the last : finished: org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner@ in my logs. Do I have to use a special function to wait until update is effective ? Another question (maybe easy for you) I'm r

Invalid CRLF - StreamingUpdateSolrServer ?

2009-12-31 Thread Patrick Sauts
I'm using solr 1.4 on tomcat 5.0.28, with client StreamingUpdateSolrServer with 10threads and xml communication via Post method. Is there a way to avoid this error (data lost)? And is StreamingUpdateSolrServer reliable ? GRAVE: org.apache.solr.common.SolrException: Invalid CRLF at org.a

Re: Invalid CRLF - StreamingUpdateSolrServer ?

2010-01-04 Thread Patrick Sauts
m default character set when streaming updates, rather than using UTF-8 as the HTTP headers indicated, leading to an encoding mismatch. (hossman, yonik) Could you try a recent nightly build (or build your own from trunk) and see if it fixes it? -Yonik http://www.lucidimagination.com On Thu,

Re: Invalid CRLF - StreamingUpdateSolrServer ?

2010-01-04 Thread Patrick Sauts
tpSolrServer solrServers = new LBHttpSolrServer(search1, search2);* So we can manage the parameters per server. Thank you for your time. Patrick. Shalin Shekhar Mangar a écrit : On Mon, Jan 4, 2010 at 6:11 PM, Patrick Sauts wrote: I've also tested LBHttpSolrServer (We wanted to have it as a &

Re: Invalid CRLF - StreamingUpdateSolrServer ?

2010-01-05 Thread Patrick Sauts
The issue was sometimes null result during facet navigation or simple search, results were back after a refresh, we tried to changed the cache to . But same behaviour. That is strange. Just to make sure, you were using the same LBHttpSolrServer instance for all requests, weren't you?

readOnly=true IndexReader

2010-01-06 Thread Patrick Sauts
In the Wiki page : http://wiki.apache.org/lucene-java/ImproveSearchingSpeed, I've found -Open the IndexReader with readOnly=true. This makes a big difference when multiple threads are sharing the same reader, as it removes certain sources of thread contention. How to open the IndexReader with

schema.xml and Xinclude

2010-01-06 Thread Patrick Sauts
As in schema.xml are the same between all our indexes, I'd like to make them an XInclude so I tried : xmlns:xi="http://www.w3.org/2001/XInclude";> - - - My Syntax might not be correct ? Or it is not possible ? yet ? Thank you again for your time. Patrick.

Re: Invalid CRLF - StreamingUpdateSolrServer ?

2010-01-26 Thread Patrick Sauts
xes it? -Yonik http://www.lucidimagination.com On Thu, Dec 31, 2009 at 5:07 AM, Patrick Sauts wrote: I'm using solr 1.4 on tomcat 5.0.28, with client StreamingUpdateSolrServer with 10threads and xml communication via Post method. Is there a way to avoid this error (data lost)? And is Streaming

Re: If you could have one feature in Solr...

2010-02-24 Thread Patrick Sauts
Synchronisation between the slaves to switch the new index at the same time after replication. Grant Ingersoll a écrit : What would it be?