Re: Re: Phonetic search with Lucene 3.2

2011-11-09 Thread janwen
paul: I visited the site you provide and explore the example,but i can not understand the results from the following example.I thought the phonetix is an tel-no analyzer like 010-134323434,400-2343-2342-3234,could you tell me some more info about this,i need to index phone number in my proje

Change IndexFiles to record term frequency as well?

2011-11-09 Thread Daniel Quach
I am currently using Lucene to index a dump of Wikipedia. I'm using the demo's IndexFiles function for the most part, but I also want to store the term frequency of a document in the index as well, is this possible? Right now, the index just stores the (term -> document pathname) mappings, b

Re: Re: Lucene Architecture/Documentation Site (Update)

2011-11-09 Thread Vineet Sinha
Janwen, We have fixed the bug. You should be able to use the site now. I am looking forward to hearing your thoughts. In the meantime we are working on all the great feedback we have received so far from you guys. Regards, Vineet -- Founder, Architexa - www.architexa.com Understand & Document Co

my question about lucene

2011-11-09 Thread 强继朋
lucene, I hava a problem i don't know how to do, it's about Score Formula of lucene. In the package of lucene, it provide a method in Class Similarity. My question : if i want to only use some factors of Formula, such as TF and IDF. And then i add some additional factors, in aim to

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Peter Karich
well using embedded solr would be an option althought not recommended. or look into elasticsearch: http://www.elasticsearch.org/guide/reference/index-modules/analysis/phonetic-tokenfilter.html http://www.elasticsearch.org/guide/reference/java-api/client.html Regards, Peter. > Can I use Solr as

RE: Phonetic search with Lucene 3.2

2011-11-09 Thread Uwe Schindler
Hi, You can still add the solr.jar file to your classplath and simply use that filter. Lot's of people are doing this for e.g. WordDelimiterFilter. But yes, with Lucene trunk this was factored out of solr core and moved to a new analyzer module. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Erik Hatcher
On Nov 9, 2011, at 05:11 , Felipe Carvalho wrote: > Can I use Solr as a lib, like Lucene? My company is not willing to install > a Solr server... =/ That's too bad. What's the rationale for that decision? A large number of big big companies are deploying on Solr quite happily. I just taught

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Paul Libbrecht
That uses Lucene 2.9.2 indeed. paul Le 9 nov. 2011 à 11:43, Felipe Carvalho a écrit : > Which version of Lucene are you using? I had tried it with Lucene 3.3 and > had some problems, did you have to do any customizations? > > On Wed, Nov 9, 2011 at 8:38 AM, Paul Libbrecht wrote: > >> We've b

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Felipe Carvalho
Can I use Solr as a lib, like Lucene? My company is not willing to install a Solr server... =/ On Wed, Nov 9, 2011 at 9:35 AM, Erik Hatcher wrote: > Solr has, for a long while, included a PhoneticFilter that can leverage > several different algorithms. This was pulled down to Lucene, but only f

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Erik Hatcher
Solr has, for a long while, included a PhoneticFilter that can leverage several different algorithms. This was pulled down to Lucene, but only for trunk/4.0. Maybe use Solr instead?! ;) Erik On Nov 9, 2011, at 02:29 , Felipe Carvalho wrote: > Using PerFieldAnalyzerWrapper seems to

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Felipe Carvalho
Which version of Lucene are you using? I had tried it with Lucene 3.3 and had some problems, did you have to do any customizations? On Wed, Nov 9, 2011 at 8:38 AM, Paul Libbrecht wrote: > We've been using >http://www.tangentum.biz/en/products/phonetix/ > which does double-metaphone. > Ma

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Paul Libbrecht
We've been using http://www.tangentum.biz/en/products/phonetix/ which does double-metaphone. Maybe that helps. paul Le 9 nov. 2011 à 11:29, Felipe Carvalho a écrit : > Using PerFieldAnalyzerWrapper seems to be working for what I need! > > On indexing: > >PerFieldAnalyzerWrappe

Re: Phonetic search with Lucene 3.2

2011-11-09 Thread Felipe Carvalho
Using PerFieldAnalyzerWrapper seems to be working for what I need! On indexing: PerFieldAnalyzerWrapper wrapper = new PerFieldAnalyzerWrapper(new StandardAnalyzer(Version.LUCENE_33)); wrapper.addAnalyzer("nome", new MetaphoneReplacementAnalyzer()); IndexWriterConfig indexW