Hy Guys,
Does anybody knows if there is way to use wild cards in SpanQuery?
My idea is for example instead of query - content:"expansive
computer"~10 - we to use query - content:"exp* comp*"~10. And the
results of first query to be subset of those of second one.
I tried with parsing the above w
Hi Ivan, SpanRegexQuery should work - just use ".*" instead of "*". - Steve
> -Original Message-
> From: Ivan Vasilev [mailto:ivasi...@sirma.bg]
> Sent: Thursday, April 23, 2009 11:42 AM
> To: LUCENE MAIL LIST
> Subject: SpanQuery wildcards?
>
>
Related: https://issues.apache.org/jira/browse/LUCENE-1486
- Original Message
From: Steven A Rowe
To: "java-user@lucene.apache.org"
Sent: Thursday, 23 April, 2009 16:54:08
Subject: RE: SpanQuery wildcards?
Hi Ivan, SpanRegexQuery should work - just use ".*" ins
Thanks Guys for the answers!
Steven, I tried with the ".*" instead of "*" but it did not worked as
desired. The ".*" does not replace any symbol(s) in the query. I tested
with different Analyzers. Depending on Analyzer it is omitted or ".*"
are treated just as normal symbols.
Mark, your clas