lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: SpanQuery wildcards?
Date Thu, 23 Apr 2009 15:54:08 GMT
Hi Ivan, SpanRegexQuery should work - just use ".*" instead of "*". - Steve

> -----Original Message-----
> From: Ivan Vasilev [mailto:ivasilev@sirma.bg]
> Sent: Thursday, April 23, 2009 11:42 AM
> To: LUCENE MAIL LIST
> Subject: SpanQuery wildcards?
> 
> 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 with different Analyzers but with no
> positive result. I also tried with different variants of SpanNearQuery
> but again with no result.
> 
> Is it possible at all?
> 
> Best Regards,
> Ivan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message