Re: How to implement fuzzy phrase search with Lucene?

2012-06-01 Thread Jack Krupansky
You'll have to be more specific about what you mean by "fuzzy phrase search". Even in the classic Lucene query parser "sloppy phrase search is supported" - variable spacing between terms. LUCENE-2754 added support for all multi-term queries (which includes Fuzz

How to implement fuzzy phrase search with Lucene?

2012-06-01 Thread harish.bn
Did you find any solution for this. I am looking for similar solution, please let me know if you found any useful info regarding fuzzy phrase search inlucene. Thanks & Regards, Harish B.N. Lead Software Engineer Thomson Reuters Phone: +91-80-67193219 Mobile: +91-9845807294 ha

Fuzzy Phrase Search

2010-10-27 Thread Andrew Scott
Hi Guys, I am wondering how I can go about doing a Fuzzy Phrase search using Lucene.NET 2.9.2 - I've tired looking around everywhere but there doesn't really seem to be any resources related to this anywhere. I found this stackoverflow link<http://stackoverflow.com/questions/2589086

Re: Fuzzy Phrase

2010-09-27 Thread Ahmet Arslan
> I want to > use just one string like -- head:"hello~ world"~3 AND > contents:"colorless~ > green~ ideas~". > > When I this string query within ComplexPhraseQuery, I get > the exception: > -- ParseException: Cannot parse 'hello~ world': Cannot > have clause for > field "content" nested in phras

Re: Fuzzy Phrase

2010-09-27 Thread Karl Wettin
both fields using an >> BooleanQuery with Occur.MUST. >> >> - >> Uwe Schindler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: u...@thetaphi.de >> >> >>> -Original Message----- >>> From: fa

Re: Fuzzy Phrase

2010-09-26 Thread Fabiano Nunes
> -Original Message- > > From: falha...@gmail.com [mailto:falha...@gmail.com] On Behalf Of > > Fabiano Nunes > > Sent: Sunday, September 26, 2010 10:32 AM > > To: java-user@lucene.apache.org > > Subject: Fuzzy Phrase > > > > Is it possible to search fo

RE: Fuzzy Phrase

2010-09-26 Thread Uwe Schindler
:falha...@gmail.com] On Behalf Of > Fabiano Nunes > Sent: Sunday, September 26, 2010 10:32 AM > To: java-user@lucene.apache.org > Subject: Fuzzy Phrase > > Is it possible to search for fuzzy phrase queries like -- "colorless~ green~ > ideas~" -- ? > I have had some success

Fuzzy Phrase

2010-09-26 Thread Fabiano Nunes
Is it possible to search for fuzzy phrase queries like -- "colorless~ green~ ideas~" -- ? I have had some success with ComplexPhraseQuery, but I can't use it for querying two fields at same time, ie, -- head:"hello~ world"~3 AND contents:"colorless~ green~ ideas~" -- Thank you.

How to implement fuzzy phrase search with Lucene?

2010-07-12 Thread a peng
Hi, I have a requirement recently to implement fuzzy phrase, for example, in the indexed document there is a sentence "I like lucene very much". And when I search "I do like lucene very much" or "I like lucene much", I both want to get the search result, can someone

Re: Fuzzy phrase matching using SpanQuery?

2009-09-29 Thread Anshum
Hi Viksit, Why don't you try breaking the query and running a boolean boost query. Building something like ("A B C"~1000)^100 OR ("A B"~1000 OR "B C"~1000 OR "A C"~1000)^10 OR (A OR B OR C) Though this is not a fool proof way to do it and a manual merge is the right way. Also, I remember a similar

Fuzzy phrase matching using SpanQuery?

2009-09-28 Thread Viksit Gaur
Hi all, I'm trying to achieve the following, and wondered if I could get feedback on how best to achieve it. Given an example phrase P - "Squeamish Ossifrage Monster", I'd like to search a corpus such that in a list of results, - Docs with all 3 words in the phrase are ranked at the top -

Re: Advice regarding fuzzy phrase searching

2007-12-12 Thread Jose Luna
time for the long explanation. Problem Description: I would like to index a set of very large HTML documents. I would then be able to run two different kinds of queries: proximity queries, and fuzzy phrase queries. I would like to get the exact positions of the matching results from the query (

Re: Advice regarding fuzzy phrase searching

2007-12-11 Thread Mark Miller
I apologize ahead of time for the long explanation. Problem Description: I would like to index a set of very large HTML documents. I would then be able to run two different kinds of queries: proximity queries, and fuzzy phrase queries. I would like to get the exact positions of the matching

Re: Advice regarding fuzzy phrase searching

2007-12-11 Thread Ruslan Sivak
might use to solve my problem. I apologize ahead of time for the long explanation. Problem Description: I would like to index a set of very large HTML documents. I would then be able to run two different kinds of queries: proximity queries, and fuzzy phrase queries. I would like to get the

Advice regarding fuzzy phrase searching

2007-12-11 Thread Jose Luna
: proximity queries, and fuzzy phrase queries. I would like to get the exact positions of the matching results from the query (I need to modify the original documents at these positions.) I will only need to search one document at a time, i.e., I already know which document I'll be looking i

Re: fuzzy phrase query?

2006-03-16 Thread karl wettin
16 mar 2006 kl. 11.47 skrev Erik Hatcher: This can be done with some work to implement a SpanFuzzyQuery (similar to the SpanRegexQuery in contrib/regex currently) and using SpanNearQuery instead of a PhraseQuery. Thanks, I'll check it out. Performance is at risk doing such a query as all

Re: fuzzy phrase query?

2006-03-16 Thread Erik Hatcher
On Mar 16, 2006, at 2:40 AM, karl wettin wrote: Is it possible to make a phrase query fuzzy? What do you mean by a fuzzy phrase query? As in each term in the phrase is treated as a FuzzyQuery essentially such that "kool kat" matches "cool cat"? This can be do

Re: fuzzy phrase query?

2006-03-16 Thread karl wettin
16 mar 2006 kl. 08.40 skrev karl wettin: Is it possible to make a phrase query fuzzy? It could be a quick and not so dirty replacement for hidden markov models and thus produce great results for spell checking and other natrual language classifications. Perhaps it is easier to make a Spa

fuzzy phrase query?

2006-03-15 Thread karl wettin
Is it possible to make a phrase query fuzzy? It could be a quick and not so dirty replacement for hidden markov models and thus produce great results for spell checking and other natrual language classifications. - To unsub