Re: QueryParser Strips "++" out of my word "c++"

2007-01-26 Thread Mike Klaas
On 1/26/07, Joe Tang <[EMAIL PROTECTED]> wrote: Thanks for you reply Doron. It works partly on me. How should I customize the Analyzer so as to have the functionality of StandardAnalyzer as well as not stripping out some of the charactors? Joe, See nutch's version of StandardAnalyzer: it add

Re: QueryParser Strips "++" out of my word "c++"

2007-01-26 Thread Joe Tang
Thanks for you reply Doron. It works partly on me. How should I customize the Analyzer so as to have the functionality of StandardAnalyzer as well as not stripping out some of the charactors? Regards, Joe Doron Cohen wrote: > > Hi Joe, > > It must be the standard analyzer's work - try like

Re: QueryParser Strips "++" out of my word "c++"

2007-01-26 Thread Doron Cohen
Hi Joe, It must be the standard analyzer's work - try like this: new QueryParser("keywords", new WhitespaceAnalyzer()) Regards, Doron Joe Tang <[EMAIL PROTECTED]> wrote on 26/01/2007 15:48:31: > > I am working on lucene 2.0.0 trying to parse a query with my word "c++" as a > keywords but u

QueryParser Strips "++" out of my word "c++"

2007-01-26 Thread Joe Tang
I am working on lucene 2.0.0 trying to parse a query with my word "c++" as a keywords but unfortunately it strips out my word as "c". How can I parse a query like "c++" and "c#"? Here are the codes import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.queryPars

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-26 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467957 ] Hoss Man commented on LUCENE-781: - Lemme put it this way: I'd rather write a new IndexReaderUtils class, with a stat

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-26 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467953 ] Doron Cohen commented on LUCENE-781: One could write an application that groups readers to multiReaders in more t

Re: svn commit: r500053 - in /lucene/java/trunk/contrib/xml-query-parser/src: java/org/apache/lucene/xmlparser/ test/org/apache/lucene/xmlparser/

2007-01-26 Thread Otis Gospodnetic
Mark, looks like this went in without the Apache license header. Otis - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Thursday, January 25, 2007 6:31:05 PM Subject: svn commit: r500053 - in /lucene/java/trunk/contrib/xml-query-parser/src: ja

[jira] Commented: (LUCENE-785) RAMDirectory not Serializable

2007-01-26 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467838 ] Michael McCandless commented on LUCENE-785: --- OK, here's a quick unit test that catches the regression:

[jira] Updated: (LUCENE-786) Extended javadocs in spellchecker

2007-01-26 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin updated LUCENE-786: --- Attachment: spellcheck_javadocs.diff patch root is trunk/contrib/spellcheck > Extended javadocs in s

[jira] Created: (LUCENE-786) Extended javadocs in spellchecker

2007-01-26 Thread Karl Wettin (JIRA)
Extended javadocs in spellchecker - Key: LUCENE-786 URL: https://issues.apache.org/jira/browse/LUCENE-786 Project: Lucene - Java Issue Type: Improvement Components: Javadocs Affects Versions: 2.0

[jira] Commented: (LUCENE-785) RAMDirectory not Serializable

2007-01-26 Thread Daniel Bechler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467832 ] Daniel Bechler commented on LUCENE-785: --- That's what I heared from Matthias, too. (We work in the same company.

[jira] Commented: (LUCENE-785) RAMDirectory not Serializable

2007-01-26 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467831 ] Karl Wettin commented on LUCENE-785: Hmm, this must be something fairly new. I had no problems when Serializable

[jira] Updated: (LUCENE-785) RAMDirectory not Serializable

2007-01-26 Thread Matthias Seidel (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Seidel updated LUCENE-785: --- Description: The current implementation of RAMDirectory throws a NotSerializableException wh

[jira] Created: (LUCENE-785) RAMDirectory not Serializable

2007-01-26 Thread Matthias Seidel (JIRA)
RAMDirectory not Serializable - Key: LUCENE-785 URL: https://issues.apache.org/jira/browse/LUCENE-785 Project: Lucene - Java Issue Type: Bug Components: Store Affects Versions: 2.1 Report