Re: How to handle hl.fl form variable (any variable with a dot in its name) from javascript?

2007-05-21 Thread Ryan McKinley
Teruhiko Kurosaka wrote: I have a form that sets the hl.fl form hidden variable. I wanted to change the higlighted field depending on the query string that is typed, using JavaScript. This is normally done by the JavaScript code like this: document.myform.varname.value = "whatever" But th

TEI indexing

2007-05-21 Thread Gary Browne
Once again, thanks for your help getting Solr up and running. I'm wondering if anyone has any hints on how to prepare TEI documents for indexing - I was about to write some XSLT but didn't want to reinvent the wheel (unless it's punctured)? Regards Gary Gary Browne Development Progr

Re: system architecture question when using solr/lucene

2007-05-21 Thread James liu
first u should know ur goal. second u should analyzer ur search interface which fit for ur customer third u analyzer ur queries(optimize solr with more used queries) 40 Threads /s does it mean u use 40 solr instances or it just show higher user queries? 2007/5/21, Yonik Seeley <[EMAIL PROTECT

How to handle hl.fl form variable (any variable with a dot in its name) from javascript?

2007-05-21 Thread Teruhiko Kurosaka
I have a form that sets the hl.fl form hidden variable. I wanted to change the higlighted field depending on the query string that is typed, using JavaScript. This is normally done by the JavaScript code like this: document.myform.varname.value = "whatever" But this doesn't work for hl.fl b

how to use function queries

2007-05-21 Thread mike topper
I'm trying to retrieve results from solr such that newer documents' scores are boosted. From the solr wiki it states that I should use a function query to influence the score but I'm a little confused on howto use a function query. Searching through the archives I found a suggestion of using

Re: system architecture question when using solr/lucene

2007-05-21 Thread Yonik Seeley
What are some typical examples of your queries (all of the params that are sent to Solr)? Query and Document caches typically result in small increases in performance. The filterCache can result in large increases, depending on the queries. Another possibility is that you may be hitting some othe

Re: system architecture question when using solr/lucene

2007-05-21 Thread Ajanta Phatak
Thanks to both of you for your responses - Otis and Chris. We did manage to run some benchmarks, but we think there are some surprising results here. It seems that caching is not affecting performance that much. Is that because of the small index size? Do these seem ok or is there any room for