Re: Anyone know How to test CustomerAnalyzer with jsp?

2007-03-15 Thread James liu
Tomcat start error。 Does solr support java 1.6? Test under winxp, tomcat 6.0, java 1.6 My test jsp code : %@ page import=org.apache.lucene.analysis.standard.StandardAnalyzer % htmlbodycenter % StandardAnalyzer a = new StandardAnalyzer(); TokenStream t = a.tokenStream(f, new

Performance penalty for Multivalued field?

2007-03-15 Thread Maximilian Hütter
Hi, I have a Solr-instance where many documents containing the same field several times. Rightnow I use a stylesheet which will collect these duplicate fields into one field for indexing. I guess this a case where I should use a multivalued field, but the problem is I don't know in advance (when

RE: Restrict Servlet Access

2007-03-15 Thread Gunther, Andrew
I'm trying to get my head around the architecture where Solr sits behind a firewall. Can someone tease this out for me. Is a jndi context establishing the connection to the app server? I'm naïve in thinking how one talks to the solr servlet behing a firewall. I apologize up front for the

Re: Restrict Servlet Access

2007-03-15 Thread Bess Sadler
Andrew, I don't know if this is what you're getting at, but my solution is kind of naive but seems to work well. I have solr running on a given port, say :8983. I have my firewall (iptables) set up so that the outside world cannot connect to :8983. However, my httpd server, running on port

Re: Performance penalty for Multivalued field?

2007-03-15 Thread Mike Klaas
On 3/15/07, Maximilian Hütter [EMAIL PROTECTED] wrote: Hi, I have a Solr-instance where many documents containing the same field several times. Rightnow I use a stylesheet which will collect these duplicate fields into one field for indexing. I guess this a case where I should use a multivalued

Multiple Fields syntax

2007-03-15 Thread shai deljo
A question about the syntax: Does it support the exclude (-) syntax ? e.g. q=title:photoshop+OR+description:photoshop;score+descversion=2.2start=0rows=170indent=onfl=*,score Will return documents with photoshop in the title and/or description. will this query:

XSLTResponseWriter and xslt 2.0

2007-03-15 Thread Brian Whitman
There's a lot of good stuff in XSLT 2.0, specifically for Solr users -- like grouping, time and date, and uri encoding. It's my understanding that the javax.xml.transform used by the XSLTResponseWriter is 1.0 only-- at least, it does not understand any of the 2.0 stuff I've thrown at it. I

Re: Anyone know How to test CustomerAnalyzer with jsp?

2007-03-15 Thread James liu
i fix it by myself. my analyzer base on two dll and one jar file. jar file maybe complied by old java version. i use java1.6 to recompile it. Thk everybody who noticed my question and thk Chris...You are good people.