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 "Sowmya V.B." <vb...@gmail.com> on 2011/08/05 21:43:40 UTC
*:* not returning any documents
Hi All
I have a working Solr servlet and a Web Interfact calling this
servlet...with a well sized index.
I don't remember changing anything significantly over the past few hours,
but iam facing a strange problem.
while a query like: *:* is not returning any documents, a query with some
specific text does return all documents relevant to that query.
although this issue does not affect my application, i just got curious as to
what is happening.
Any suggestions, from anyone?
S.
--
Sowmya V.B.
----------------------------------------------------
Losing optimism is blasphemy!
http://vbsowmya.wordpress.com
----------------------------------------------------
Re: *:* not returning any documents
Posted by "Sowmya V.B." <vb...@gmail.com>.
Oh, yeah. That was the only thing I did! to make dismax default, instead of
using defType=dismax, as I used to do!
Thanks for the clarification.
Sowmya.
On Fri, Aug 5, 2011 at 10:15 PM, Rafal Piekarski <ra...@gmail.com> wrote:
> Check that you have used lucene query parser, not dismax or edismax. You
> can force it with &defType=lucene
>
> If ypu are using in default dismax then using &q.alt=*:* would work like
> &q=*:* for lucene.
>
> --
> Rafał "RaVbaker" Piekarski
>
> jid/xmpp: ravbaker@gmail.com
> mobile: +48 663 808 481
> web: http://ja.ravbaker.net
>
> [send from/wysłano z iPad]
>
> On 5 sie 2011, at 21:43, "Sowmya V.B." <vb...@gmail.com> wrote:
>
> > Hi All
> >
> > I have a working Solr servlet and a Web Interfact calling this
> > servlet...with a well sized index.
> > I don't remember changing anything significantly over the past few hours,
> > but iam facing a strange problem.
> >
> > while a query like: *:* is not returning any documents, a query with some
> > specific text does return all documents relevant to that query.
> >
> > although this issue does not affect my application, i just got curious as
> to
> > what is happening.
> >
> > Any suggestions, from anyone?
> >
> > S.
> >
> > --
> > Sowmya V.B.
> > ----------------------------------------------------
> > Losing optimism is blasphemy!
> > http://vbsowmya.wordpress.com
> > ----------------------------------------------------
>
--
Sowmya V.B.
----------------------------------------------------
Losing optimism is blasphemy!
http://vbsowmya.wordpress.com
----------------------------------------------------
Re: *:* not returning any documents
Posted by Rafal Piekarski <ra...@gmail.com>.
Check that you have used lucene query parser, not dismax or edismax. You can force it with &defType=lucene
If ypu are using in default dismax then using &q.alt=*:* would work like &q=*:* for lucene.
--
Rafał "RaVbaker" Piekarski
jid/xmpp: ravbaker@gmail.com
mobile: +48 663 808 481
web: http://ja.ravbaker.net
[send from/wysłano z iPad]
On 5 sie 2011, at 21:43, "Sowmya V.B." <vb...@gmail.com> wrote:
> Hi All
>
> I have a working Solr servlet and a Web Interfact calling this
> servlet...with a well sized index.
> I don't remember changing anything significantly over the past few hours,
> but iam facing a strange problem.
>
> while a query like: *:* is not returning any documents, a query with some
> specific text does return all documents relevant to that query.
>
> although this issue does not affect my application, i just got curious as to
> what is happening.
>
> Any suggestions, from anyone?
>
> S.
>
> --
> Sowmya V.B.
> ----------------------------------------------------
> Losing optimism is blasphemy!
> http://vbsowmya.wordpress.com
> ----------------------------------------------------
Re: *:* not returning any documents
Posted by Ahmet Arslan <io...@yahoo.com>.
> Hi All
>
> I have a working Solr servlet and a Web Interfact calling
> this
> servlet...with a well sized index.
> I don't remember changing anything significantly over the
> past few hours,
> but iam facing a strange problem.
>
> while a query like: *:* is not returning any documents, a
> query with some
> specific text does return all documents relevant to that
> query.
>
> although this issue does not affect my application, i just
> got curious as to
> what is happening.
>
> Any suggestions, from anyone?
May be you are using dismax query parser? defType=dismax
It does not recognize *:*, it thats the case q.alt=*:* parameter exists.