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" %> <% StandardAnalyzer a = new StandardAnalyzer(); TokenStream t = a.tokenStream("f", new StringReader("test")); %>

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 c

Re: Commit after how many updates?

2007-03-15 Thread Maximilian Hütter
Chris Hostetter schrieb: > : It is the default heap size for the Sun JVM, so I guess 64MB max. The > : documents are rather large, but if you manage to index 100,000 docs, > : there seems to be some problem with Solr. > > i think you mean "there DOES NOT seems to be some problem with Solr." > righ

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 nai

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 multivalue

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+desc&version=2.2&start=0&rows=170&indent=on&fl=*,score Will return documents with photoshop in the title and/or description. will this query: q=title:photoshop-adobe+OR+

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.

how to balance index and search

2007-03-15 Thread James liu
I find index html will make tomcat obtain cpu 100% . It make seach become slow. So how to balance index and search. web i use apache+php solr i use tomcat 6+java1.6 Any suguesstion i m waiting. -- regards jl

Re: how to balance index and search

2007-03-15 Thread James liu
Can people from cnet tell how to use solr in CNET.COM ? 2007/3/16, James liu <[EMAIL PROTECTED]>: I find index html will make tomcat obtain cpu 100% . It make seach become slow. So how to balance index and search. web i use apache+php solr i use tomcat 6+java1.6 Any suguesstion i m waiti