: No, as far as I know you can't combine wildcards in phrases. This would
The QueryParser doesn't support it, and there is no native query type
for it, but if you are willing to do the query expansion yourself, you can
build a MultiPhraseQuery (where you generate the terms using a
WildcardTerm
f it's possible to combine wildcards and phrase query.
> >> >
> >> > For example "term1 term*"
> >> >
> >> > I know that the documentation says "Lucene supports single and
> multiple
> >> > character wildcard se
t; but maybe someone has had the same problem and found a
>> solution.
>> >
>> > Thanks for your help
>> >
>> > Jens Burkhardt
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/combine-wildcard-and-
ies)" but maybe someone has had the same problem and found a
>> solution.
>> >
>> > Thanks for your help
>> >
>> > Jens Burkhardt
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/combine-wildcard-and-
I'm wondering if it's possible to combine wildcards and phrase query.
> >
> > For example "term1 term*"
> >
> > I know that the documentation says "Lucene supports single and multiple
> > character wildcard searches within single terms (not within p
terms (not within phrase
> queries)" but maybe someone has had the same problem and found a solution.
>
> Thanks for your help
>
> Jens Burkhardt
>
--
View this message in context:
http://www.nabble.com/combine-wildcard-and-phrase-query-tp158706
but maybe someone has had the same problem and found a solution.
Thanks for your help
Jens Burkhardt
--
View this message in context:
http://www.nabble.com/combine-wildcard-and-phrase-query-tp15870647p15870647.html
Sent from the Lucene - Java Users mail