Re: Finding cityfuzzily but most accurate is most relevant

2012-01-21 Thread mschipperheyn
Hey Rene, Thanks for the quick response. I use Hibernate, so I can use the programmatic API. Marc -- View this message in context: http://lucene.472066.n3.nabble.com/Finding-cityfuzzily-but-most-accurate-is-most-relevant-tp3677966p3678444.html Sent from the Lucene - Java Users mailing list

Re: Finding cityfuzzily but most accurate is most relevant

2012-01-21 Thread Rene Hackl-Sommer
Hi Marc, So, I guess I'm looking for a near phrase query with wild card. Any suggestions on this? Do you rely on the Lucene Query Syntax or can you build queries via the API? If the latter, take a look at SpanNearQuery and SpanRegexQuery. Here's an article that can get you started on Sp

Finding cityfuzzily but most accurate is most relevant

2012-01-21 Thread mschipperheyn
0 results C +city:"rio de janeiro"~1 Rio de Janeiro D +city:"rio de j"~1 0 results I would want to get this translated to +city:"rio de j*"~1 So, I guess I'm looking for a near phrase query with wild card. Any suggestions on this? Kind regards, Marc -- View