You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Vijay Santhanam <vi...@spectrumwired.com> on 2008/08/05 09:42:58 UTC
RE: Running index as a Server Application
Howdy,
What's the latest stable build version recommended for production use?
Regards,
Vijay Santhanam
B.Eng.(Soft.)
Spectrum Wired - Software Engineer
T: +61 2 4925 3266
F: +61 2 4925 3255
M: +61 407 525 087
W: www.spectrumwired.com
Disclaimer: This email and any attached files are intended solely for the named addressee, are confidential and may contain legally privileged information. The copying or distribution of them or any information they contain, by anyone other than the addressee, is prohibited. If you have received this email in error, please let us know by telephone or return the email to the sender and destroy all copies. Thank you.
Re: StandardTokenizer.cs and StandardTokenizer.jj
Posted by Doug Sale <do...@gmail.com>.
I am not aware of a C# equivalent of JavaCC.
The approach used to generate StandardTokenizer.cs was to use Visual
Studio's JLCA (Java Language Conversion Assistant) on the Java code. Manual
"tweaks" might be necessary post-conversion for anything the JLCA fails to
convert or converts incorrectly.
So, if you are comfortable with JavaCC parser grammar, your process would
be:
- edit grammar file (StandardTokenizer.jj)
- run grammar file thru JavaCC to get Java source (actually yields 2 files,
iirc)
- run Java source thru JLCA to get C# source
- fix any compilation errors and then test
It might be helpful to compare your .cs files to the release versions when
diagnosing any issues. Also, Lucene 2.2.0 was the last version to use
JavaCC for the StandardTokenizer grammar. Since 2.3.0, the grammar is
implemented using JFlex.
Doug
On Tue, Aug 5, 2008 at 1:01 PM, Min Yin <yi...@ai.sri.com> wrote:
> Hi there!
>
> I'd like to change a little bit of the grammar rules in
> StandardTokenizer.jj, but I'm not sure how to convert the change to
> StandardTokenizer.cs.
>
> JavaCC will generate a Java file, is there a C# equivalent? or do I have to
> manually change StandardTokenizer.cs myself?
>
> Many thanks in advance!
>
> Min
>
StandardTokenizer.cs and StandardTokenizer.jj
Posted by Min Yin <yi...@AI.SRI.COM>.
Hi there!
I'd like to change a little bit of the grammar rules in
StandardTokenizer.jj, but I'm not sure how to convert the change to
StandardTokenizer.cs.
JavaCC will generate a Java file, is there a C# equivalent? or do I have
to manually change StandardTokenizer.cs myself?
Many thanks in advance!
Min
RE: Running index as a Server Application
Posted by Digy <di...@gmail.com>.
Hi Vijay,
I use v.2.1 for months without any problem.
DIGY
-----Original Message-----
From: Vijay Santhanam [mailto:vijay@spectrumwired.com]
Sent: Tuesday, August 05, 2008 10:43 AM
To: lucene-net-user@incubator.apache.org
Subject: RE: Running index as a Server Application
Howdy,
What's the latest stable build version recommended for production use?
Regards,
Vijay Santhanam
B.Eng.(Soft.)
Spectrum Wired - Software Engineer
T: +61 2 4925 3266
F: +61 2 4925 3255
M: +61 407 525 087
W: www.spectrumwired.com
Disclaimer: This email and any attached files are intended solely for the named addressee, are confidential and may contain legally privileged information. The copying or distribution of them or any information they contain, by anyone other than the addressee, is prohibited. If you have received this email in error, please let us know by telephone or return the email to the sender and destroy all copies. Thank you.