You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by dabboo <ag...@sapient.com> on 2009/05/05 15:52:55 UTC
Wildcard with Double Quotes Query
Hi,
I am searching for "English Portal" using double quotes and I am getting all
the records which contains "English Portal" as together anywhere in any
field.
for e.g. records are appearing which have, English Portal, English Portal
Sacromanto, Core English Portal etc.
Problem is, if I am passing only "nglish Portal" then it is not returning
any of these results. Is there any way I can pass the wildcards as prefix
and suffix with this search string and get the desired results.
Please suggest.
Thanks,
Amit Garg
--
View this message in context: http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23387746.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard with Double Quotes Query
Posted by Otis Gospodnetic <ot...@yahoo.com>.
I don't think you can do wildcard with a phrase. A path for that is sitting in Lucene's JIRA.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: dabboo <ag...@sapient.com>
> To: solr-user@lucene.apache.org
> Sent: Tuesday, May 5, 2009 11:35:40 AM
> Subject: Re: Wildcard with Double Quotes Query
>
>
> I am using dismax request to achieve this. Though I am able to do wildcard
> search with dismax but I am not sure if I can do the wildcard with phrase.
>
> Please suggest.
>
> Amit
>
> Erick Erickson wrote:
> >
> > I don't remember the answer, but I'm sure this has been discussed
> > many times on the mailing list. Have you tried searching that? You're
> > essentially asking about wildcarded phrase queries....
> >
> > Best
> > Erick
> >
> > On Tue, May 5, 2009 at 9:52 AM, dabboo wrote:
> >
> >>
> >> Hi,
> >>
> >> I am searching for "English Portal" using double quotes and I am getting
> >> all
> >> the records which contains "English Portal" as together anywhere in any
> >> field.
> >>
> >> for e.g. records are appearing which have, English Portal, English Portal
> >> Sacromanto, Core English Portal etc.
> >>
> >> Problem is, if I am passing only "nglish Portal" then it is not returning
> >> any of these results. Is there any way I can pass the wildcards as prefix
> >> and suffix with this search string and get the desired results.
> >>
> >> Please suggest.
> >>
> >> Thanks,
> >> Amit Garg
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23387746.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23389978.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard with Double Quotes Query
Posted by dabboo <ag...@sapient.com>.
I am using dismax request to achieve this. Though I am able to do wildcard
search with dismax but I am not sure if I can do the wildcard with phrase.
Please suggest.
Amit
Erick Erickson wrote:
>
> I don't remember the answer, but I'm sure this has been discussed
> many times on the mailing list. Have you tried searching that? You're
> essentially asking about wildcarded phrase queries....
>
> Best
> Erick
>
> On Tue, May 5, 2009 at 9:52 AM, dabboo <ag...@sapient.com> wrote:
>
>>
>> Hi,
>>
>> I am searching for "English Portal" using double quotes and I am getting
>> all
>> the records which contains "English Portal" as together anywhere in any
>> field.
>>
>> for e.g. records are appearing which have, English Portal, English Portal
>> Sacromanto, Core English Portal etc.
>>
>> Problem is, if I am passing only "nglish Portal" then it is not returning
>> any of these results. Is there any way I can pass the wildcards as prefix
>> and suffix with this search string and get the desired results.
>>
>> Please suggest.
>>
>> Thanks,
>> Amit Garg
>> --
>> View this message in context:
>> http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23387746.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23389978.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard with Double Quotes Query
Posted by dabboo <ag...@sapient.com>.
Hi Eric,
I searched but couldnt find anything related. I am still looking in some
threads to find out if I can get somthing related. I would appreciate if you
can please provide me some pointers.
Thanks,
Amit Garg
Erick Erickson wrote:
>
> I don't remember the answer, but I'm sure this has been discussed
> many times on the mailing list. Have you tried searching that? You're
> essentially asking about wildcarded phrase queries....
>
> Best
> Erick
>
> On Tue, May 5, 2009 at 9:52 AM, dabboo <ag...@sapient.com> wrote:
>
>>
>> Hi,
>>
>> I am searching for "English Portal" using double quotes and I am getting
>> all
>> the records which contains "English Portal" as together anywhere in any
>> field.
>>
>> for e.g. records are appearing which have, English Portal, English Portal
>> Sacromanto, Core English Portal etc.
>>
>> Problem is, if I am passing only "nglish Portal" then it is not returning
>> any of these results. Is there any way I can pass the wildcards as prefix
>> and suffix with this search string and get the desired results.
>>
>> Please suggest.
>>
>> Thanks,
>> Amit Garg
>> --
>> View this message in context:
>> http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23387746.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23388979.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wildcard with Double Quotes Query
Posted by Erick Erickson <er...@gmail.com>.
I don't remember the answer, but I'm sure this has been discussed
many times on the mailing list. Have you tried searching that? You're
essentially asking about wildcarded phrase queries....
Best
Erick
On Tue, May 5, 2009 at 9:52 AM, dabboo <ag...@sapient.com> wrote:
>
> Hi,
>
> I am searching for "English Portal" using double quotes and I am getting
> all
> the records which contains "English Portal" as together anywhere in any
> field.
>
> for e.g. records are appearing which have, English Portal, English Portal
> Sacromanto, Core English Portal etc.
>
> Problem is, if I am passing only "nglish Portal" then it is not returning
> any of these results. Is there any way I can pass the wildcards as prefix
> and suffix with this search string and get the desired results.
>
> Please suggest.
>
> Thanks,
> Amit Garg
> --
> View this message in context:
> http://www.nabble.com/Wildcard-with-Double-Quotes-Query-tp23387746p23387746.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>