lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark harwood <markharw...@yahoo.co.uk>
Subject Re: SpanQuery wildcards?
Date Thu, 23 Apr 2009 16:11:57 GMT

Related:  https://issues.apache.org/jira/browse/LUCENE-1486



----- Original Message ----
From: Steven A Rowe <sarowe@syr.edu>
To: "java-user@lucene.apache.org" <java-user@lucene.apache.org>
Sent: Thursday, 23 April, 2009 16:54:08
Subject: RE: SpanQuery wildcards?

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


      


---------------------------------------------------------------------
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