Optimal interval for soft commit

2013-10-28 Thread Mugoma Joseph O.
Hello, We have solr index with about 1m docs. Every day we add 5,000 to 8,000 docs. We have defined 15 sec interval for soft commit. But for the impatient user 15 secs looks like eternity. The wiki http://wiki.apache.org/solr/NearRealtimeSearch advises on 1s soft commit interval but warns "Be s

Re: Optimal interval for soft commit

2013-10-28 Thread Mugoma Joseph O.
Hello, > How do you add the documents to the index - one by one, batches of n ? Documents are added one by one using solrj > When do you do your commits ? We have the following settings in solrconfig.xml: 180 false 15000 Thanks. Mug

index analyzer vs query analyzer

2013-06-26 Thread Mugoma Joseph O.
Hello, What's the criteria used in putting an analyzer at query or index? e.g. I want to use NGramFilterFactory, is there a difference whether I put it under or ? Thanks. Mugoma

Filter search items based on creator permission settings

2013-08-09 Thread Mugoma Joseph O.
Hello, I have an application where document creators determine what access permission (s) to give. The permissions are of the form: 1. EVERYONE => 1 2. MY_FRIENDS => 2 3. ME_ONLY => 3 Example: 1. User 1 creates doc1 and sets permission to EVERYONE 2. User 2 created doc2 and sets permission to

String field does not yield partial match result using qf parameter

2013-06-24 Thread Mugoma Joseph O.
Hello, I am newbie to solr. I am trying out partial search (match). My experience is opposite of http://lucene.472066.n3.nabble.com/string-field-does-not-yield-exact-match-result-using-qf-parameter-td4060096.html When I add 'qf' to to dismax query I get no result unless there's a full match. I

Re: String field does not yield partial match result using qf parameter

2013-06-24 Thread Mugoma Joseph O.
It looks like partial search works only with copied to field. This works: $ curl "http://localhost:8282/solr/links/select?q=text_ngrams:yengas&wt=json&indent=on&fl=id,domain,score"; On Tue, June 25, 2013 12:39 am, Mugoma Joseph O. wrote: > Hello, > > I am newb