Re: Solr Security and XSRF

2008-06-26 Thread Christian Vogler
On Fri, Jun 27, 2008 at 1:54 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > A basic technique that can be used to mitigate the risk of a possible CSRF > attack like this is to configure your Servlet Container so that access to > paths which can modify the index (ie: /update, /update/csv, etc...)

Suggestion for short text matching using dictionary

2008-06-26 Thread climbingrose
Firstly, my apologies for being off topic. I'm asking this question because I think there are some machine learning and text processing experts on this mailing list. Basically, my task is to normalize a fairly unstructured set of short texts using a dictionary. We have a pre-defined list of produc

Re: SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Norberto Meijome
On Thu, 26 Jun 2008 16:25:46 -0500 (CDT) "Geoffrey Young" <[EMAIL PROTECTED]> wrote: > well *almost* - it works most excellently with q=$term but when I add > spellchecker.q=$term things implode: > > HTTP Status 500 - null java.lang.NullPointerException at > org.apache.solr.handler.component.Spel

Re: SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Geoffrey Young
Grant Ingersoll wrote: On Jun 26, 2008, at 5:25 PM, Geoffrey Young wrote: well *almost* - it works most excellently with q=$term but when I add spellchecker.q=$term things implode: HTTP Status 500 - null java.lang.NullPointerException at org .apache .solr .handler .component.SpellCheckCom

Re: SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Grant Ingersoll
On Jun 26, 2008, at 5:25 PM, Geoffrey Young wrote: well *almost* - it works most excellently with q=$term but when I add spellchecker.q=$term things implode: HTTP Status 500 - null java.lang.NullPointerException at org .apache .solr .handler .component.SpellCheckComponent.getTokens(SpellChec

Re: SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Norberto Meijome
On Thu, 26 Jun 2008 16:25:46 -0500 (CDT) "Geoffrey Young" <[EMAIL PROTECTED]> wrote: > > it seems like it ought to work as a component of your dismax handler. this > works for me: > [] ah i see now. cool. too bad about the crash. I don't know what the policy is for opening bugs in JIRA...

Solr Security and XSRF

2008-06-26 Thread Chris Hostetter
Solr isn't normally concerned with "Security" related issues... http://wiki.apache.org/solr/SolrSecurity "It is strongly recommended that the application server containing Solr be firewalled such the only clients with access to Solr are your own. A default/example installation of

Re: SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Geoffrey Young
Norberto Meijome wrote: > Hi there, > > Short and sweet : > Is SCRH intended to honour qt= ? > > > longer... > I'm testing the newest SCRH ( SOLR-572), using last night's nightly build. > > I have defined a 'dismax' request handler which searches across a number of fields. When I use the SCRH in a

Re: UnicodeNormalizationFilterFactory

2008-06-26 Thread Robert Haschart
Lance Norskog wrote: ISOLatin1AccentFilterFactory works quite well for us. It solves our basic euro-text keyboard searching problem, where "protege" should find protégé. ("protege" with two accents.) -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

Re: Solr 1.3 deletes not working?

2008-06-26 Thread Galen Pahlke
Thanks for all your help. I found the problem. My delete queries had spaces around the id, and everything works after I got rid of them. 12345 doesnt work 12345 works fine Perhaps a heads up about this in the docs would be in order? - Galen Pahlke On Wed, Jun 25, 2008 at 8:17 PM, Yonik Seele

Efficient date-based results sorting

2008-06-26 Thread Chris Schneider
Gang, We've got an indexed solr.DateField that we'd like to use for sorting our query results. In January, Mike Klaas suggested turning on to make sorting search results on a field efficient: At 4:18 PM -0800 1/31/08, Mike Klaas wrote: >The situation could be optimized in Solr, but there is a

Re: SpellCheckComponent = choosing which one...

2008-06-26 Thread Norberto Meijome
On Fri, 27 Jun 2008 01:44:38 +1000 Norberto Meijome <[EMAIL PROTECTED]> wrote: > I am using the an almost default, config of spellcheck component ( details @ > very end of email). I have the 3 spellcheckers defined, 'default', > 'jarowinkler' and 'file'. > > I tried adding spellcheck.name=jar

SpellCheckComponent = choosing which one...

2008-06-26 Thread Norberto Meijome
Hi there, I am using the an almost default, config of spellcheck component ( details @ very end of email). I have the 3 spellcheckers defined, 'default', 'jarowinkler' and 'file'. I tried adding spellcheck.name=jarowinkler&spellcheck.build=true , and with spellcheck.reload=true as well , but

SpellCheckerRequestHandler & qt parameter

2008-06-26 Thread Norberto Meijome
Hi there, Short and sweet : Is SCRH intended to honour qt= ? longer... I'm testing the newest SCRH ( SOLR-572), using last night's nightly build. I have defined a 'dismax' request handler which searches across a number of fields. When I use the SCRH in a query, and I pass the qt=dismax param

Re: DataImportHandler running out of memory

2008-06-26 Thread Shalin Shekhar Mangar
I've added a FAQ section to DataImportHandler wiki page which captures question on out of memory exception with both MySQL and MS SQL Server drivers. http://wiki.apache.org/solr/DataImportHandler#faq On Thu, Jun 26, 2008 at 9:36 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > We must d

AW: nonexistent filter class in schema.xml

2008-06-26 Thread Stefan Oestreicher
No, I'm talking about solr token filters. I implemented my own token filter (org.apache.lucene.analysis.TokenFilter and org.apache.solr.analysis.BaseTokenFilterFactory) but I misspelled the classname in the schema.xml and I got that exception. The solr webinterface didn't respond as well, just a wh

Re: nonexistent filter class in schema.xml

2008-06-26 Thread Shalin Shekhar Mangar
Hi Stefan, Your exception is originating from tomcat instead of Solr. Are you talking about adding a ServletFilter (usually declared in web.xml) instead of a custom Solr filter factory (declared in schema.xml)? SEVERE: Error finishing response java.lang.ArrayIndexOutOfBoundsException at ja

AW: nonexistent filter class in schema.xml

2008-06-26 Thread Stefan Oestreicher
Sorry, i completely forgot... I built from trunk, so it's 1.3. Revision 666555. best regards, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestreicher / Entwicklung [EMAIL PROTECTED] http://www.netdoktor.at Tel Buero: + 43 1 405 55 75 24 Fax Buero: + 43 1 405 55 75 55 Alser Str. 4 1090 Wien Alt

Re: nonexistent filter class in schema.xml

2008-06-26 Thread Shalin Shekhar Mangar
Can you tell us what version of Solr are you using? On Thu, Jun 26, 2008 at 2:41 PM, Stefan Oestreicher < [EMAIL PROTECTED]> wrote: > Hi, > > if I add a custom filter in the schema xml and the class doesn't exist > there > is no solr error. Instead tomcat throws an exception: > > SEVERE: Error fi

nonexistent filter class in schema.xml

2008-06-26 Thread Stefan Oestreicher
Hi, if I add a custom filter in the schema xml and the class doesn't exist there is no solr error. Instead tomcat throws an exception: SEVERE: Error finishing response java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.coyote.http11