Is Analyzer used when calling IndexWriter.addIndexesNoOptimize()?

2012-12-04 Thread Earl Hood
Lucene version: 3.0.3 Does IndexWriter use the analyzer when adding indexes via addIndexesNoOptimize()? What about for optimize()? I am examining some existing code and trying to determine what effects there may be when combining multiple indexes into a single index, but each index may have had

Re: Help for multi-language support

2012-12-04 Thread parnab kumar
Hi Deepak , Lucene already has multi-language support . For any language you just need to write the custom Analyzer for that language .While indexing you can configure the indexer to use the custom analyzer as and when needed . During searching also, the same applies .You just need to provide the

Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
Sorry to be a pest of question guys. But, I need some more help. As I have just started, I was not able to decide whether to read "Lucene in action" or not, as it is focusing on older versions. I have gone through the Kelvin Tan's "HelloLucene" example and found it very beneficial. Is there any oth

Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
Hello Yann-Erwan, That might be a reason or perhaps something was missing from my side. But with the help of above replies I was able to it. Being new I was not aware of the changes made in the API. Till now I have found Lucene very interesting and i'll try to explore as much as I can. :) T

Re: Beginning with Lucene

2012-12-04 Thread Yann-Erwan Perio
On Tue, Dec 4, 2012 at 4:32 PM, Mohammad Tariq wrote: Hi, > Thank you so much for the quick response guys. Got it working. I had to add > two more jars along with lucene-core-4.0.0.jar. Thanks again. There were some API and packaging changes when the v4 came out, so possibly the tutorial that y

Re: Beginning with Lucene

2012-12-04 Thread Mohammad Tariq
Thank you so much for the quick response guys. Got it working. I had to add two more jars along with lucene-core-4.0.0.jar. Thanks again. Regards, Mohammad Tariq On Tue, Dec 4, 2012 at 8:48 PM, BIAGINI Nathan wrote: > Le 04/12/12 16:06, Mohammad Tariq a écrit : > > Hello list, >> >>

Re: Beginning with Lucene

2012-12-04 Thread BIAGINI Nathan
Le 04/12/12 16:06, Mohammad Tariq a écrit : Hello list, I am entirely new to Lucene and was trying yo get myself familiar with it with the help of tutorial presented here : http://www.lucenetutorial.com/lucene-in-5-minutes.html I was trying to execute the example code given here, but

Re: Beginning with Lucene

2012-12-04 Thread Nicola Buso
On Tue, 2012-12-04 at 20:36 +0530, Mohammad Tariq wrote: > Hello list, > > I am entirely new to Lucene and was trying yo get myself familiar > with it with the help of tutorial presented here : > http://www.lucenetutorial.com/lucene-in-5-minutes.html > > I was trying to execute the examp

Re: Lucene 4.0, Serialization

2012-12-04 Thread mark harwood
This was part of the rationale for introducing the XML Query Parser: 1) An extensible query syntax that is expressive enough to represent the full range of Lucene functions (filters, moreLikeThis etc) 2) Serializable 3) Language independent 4) Decouples the holder of query criteria from the  impl

Re: lucene highlighter

2012-12-04 Thread Nicola Buso
On Tue, 2012-12-04 at 17:30 +0530, madan mp wrote: > I am working with lucene 3.6 ,I am trying to use the highlighter 3.6 in my > search engine code, can you pls provide me full code for highlighting the > termspls..pls > > > regards > madan Hi, not a complete example, but you can play

Re: Lucene 4.0, Serialization

2012-12-04 Thread BIAGINI Nathan
Le 04/12/12 10:43, Trejkaz a écrit : On Tue, Dec 4, 2012 at 8:33 PM, BIAGINI Nathan wrote: I need to send a class containing Lucene elements such as `Query` over the network using EJB and of course this class need to be serialized. I marked my class as `Serializable` but it does not seems to be

Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase()

2012-12-04 Thread Ian Lea
Dawid said "that's how it's supposed to work" which to me = "intended behaviour". -- Ian. On Tue, Dec 4, 2012 at 6:33 AM, Trejkaz wrote: > On Tue, Dec 4, 2012 at 10:09 AM, Vitaly Funstein wrote: >> If you don't need to support case-sensitive search in your application, >> then you may be able

Re: Lucene 4.0, Serialization

2012-12-04 Thread Trejkaz
On Tue, Dec 4, 2012 at 8:33 PM, BIAGINI Nathan wrote: > I need to send a class containing Lucene elements such as `Query` over the > network using EJB and of course this class need to be serialized. I marked > my class as `Serializable` but it does not seems to be enough: > > org.apache.lucene

Re: Lucene 4.0, Serialization

2012-12-04 Thread Ian Lea
It's in the release notes for 4.0. See https://issues.apache.org/jira/browse/LUCENE-2908 -- Ian. On Tue, Dec 4, 2012 at 9:33 AM, BIAGINI Nathan wrote: > I need to send a class containing Lucene elements such as `Query` over the > network using EJB and of course this class need to be serialize

Lucene 4.0, Serialization

2012-12-04 Thread BIAGINI Nathan
I need to send a class containing Lucene elements such as `Query` over the network using EJB and of course this class need to be serialized. I marked my class as `Serializable` but it does not seems to be enough: org.apache.lucene.search.TermQuery is not Serializable Indeed, when i read th

Lucene, Serializable

2012-12-04 Thread BIAGINI Nathan
I need to send a class containing Lucene elements such as `Query` over the network using EJB and of course this class need to be serialized. I marked my class as `Serializable` but it does not seems to be enough: org.apache.lucene.search.TermQuery is not Serializable Indeed, when i read th