List Info

Thread: Empty results OMEGA with XAPIAN 1.0.1




Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-12 07:57:04
Hi,

I configured XAPIAN 1.0.1 and OMEGA 1.0.1. on my development
machine
(first removed the old ones). I recreated my databases (both
quartz
and flint) and tried to run original queries against the
databases
created by the new versions.

I'm getting empty result sets from OMEGA. If I use the delve
tool I
actually see that the records are created fine. No log files
are
written as far as I know. Are there any methods to debug
this?

I've tried running OMEGA 1.0.1 against a XAPIAN 0.9.9
database and
this works fine, so I guess the problem lies with XAPIAN.

Regards,

Maarten

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
country flaguser name
United Kingdom
2007-06-12 08:06:17
On Tue, Jun 12, 2007 at 02:57:04PM +0200, M.J. van der Veen
wrote:
> I configured XAPIAN 1.0.1 and OMEGA 1.0.1. on my
development machine
> (first removed the old ones). I recreated my databases
(both quartz
> and flint) and tried to run original queries against
the databases
> created by the new versions.

Odd, I upgraded xapian.org to 1.0.1 yesterday and that
worked.

> I'm getting empty result sets from OMEGA.

Does it just return "no matches", or no output at
all?

> If I use the delve tool I
> actually see that the records are created fine. No log
files are
> written as far as I know. Are there any methods to
debug this?

You could try the "quest" example, which uses the
QueryParser class
too.

Also, you could try running Omega from the command line, in
case
there's some output to stderr.

Also, you can add $querydescription to your OmegaScript
template
which shows how the query gets parsed.

Cheers,
    Olly

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
country flaguser name
United Kingdom
2007-06-12 08:31:02
On Tue, Jun 12, 2007 at 03:22:13PM +0200, M.J. van der Veen
wrote:
> On 6/12/07, Olly Betts <ollysurvex.com> wrote:
> >On Tue, Jun 12, 2007 at 02:57:04PM +0200, M.J. van
der Veen wrote:
> >> If I use the delve tool I
> >> actually see that the records are created
fine. No log files are
> >> written as far as I know. Are there any
methods to debug this?
> >
> >You could try the "quest" example, which
uses the QueryParser class
> >too.
> 
> Where do I find this example?

In the same place you found delve.

Cheers,
    Olly

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-12 08:22:13
On 6/12/07, Olly Betts <ollysurvex.com> wrote:
> On Tue, Jun 12, 2007 at 02:57:04PM +0200, M.J. van der
Veen wrote:
> > I configured XAPIAN 1.0.1 and OMEGA 1.0.1. on my
development machine
> > (first removed the old ones). I recreated my
databases (both quartz
> > and flint) and tried to run original queries
against the databases
> > created by the new versions.
>
> Odd, I upgraded xapian.org to 1.0.1 yesterday and that
worked.
>
> > I'm getting empty result sets from OMEGA.
>
> Does it just return "no matches", or no
output at all?

It returns no matches

>
> > If I use the delve tool I
> > actually see that the records are created fine. No
log files are
> > written as far as I know. Are there any methods to
debug this?
>
> You could try the "quest" example, which uses
the QueryParser class
> too.
>

Where do I find this example?

> Also, you could try running Omega from the command
line, in case
> there's some output to stderr.
>

Yes, same result from the commandline

> Also, you can add $querydescription to your OmegaScript
template
> which shows how the query gets parsed.

I'll try that. I just built the 0.9.10 version again and it
works fine
on the same databases. So the upgrade itself seems to be the
problem..

>
> Cheers,
>     Olly
>

Cheers,

Maarten

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-12 08:47:45
I've come to the point where the following combinations do
work:
XAPIAN 1.0.1 and OMEGA 0.9.10
XAPIAN 0.9.10 and OMEGA 1.0.1

and what not works:
XAPIAN 1.0.1 and OMEGA 1.0.1


This query:
P=mario
DB=games
FMT=searchGames.xml

results in:
$query description of XAPIAN 1.0.1 and OMEGA 1.0.1:
<desc>Xapian::Query(Zmario:(pos=1))</desc>
<previous>Zmario</previous>

$query description of XAPIAN 1.0.1 and OMEGA 0.9.10:
<desc>Xapian::Query(mario:(pos=1))</desc>
<previous>mario</previous>


So, where does this Z prefix come from?

Regards,

Maarten



On 6/12/07, Olly Betts <ollysurvex.com> wrote:
> On Tue, Jun 12, 2007 at 03:22:13PM +0200, M.J. van der
Veen wrote:
> > On 6/12/07, Olly Betts <ollysurvex.com> wrote:
> > >On Tue, Jun 12, 2007 at 02:57:04PM +0200, M.J.
van der Veen wrote:
> > >> If I use the delve tool I
> > >> actually see that the records are created
fine. No log files are
> > >> written as far as I know. Are there any
methods to debug this?
> > >
> > >You could try the "quest" example,
which uses the QueryParser class
> > >too.
> >
> > Where do I find this example?
>
> In the same place you found delve.
>
> Cheers,
>     Olly
>

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
country flaguser name
United Kingdom
2007-06-12 09:22:57
On Tue, Jun 12, 2007 at 03:47:45PM +0200, M.J. van der Veen
wrote:
> $query description of XAPIAN 1.0.1 and OMEGA 1.0.1:
> <desc>Xapian::Query(Zmario:(pos=1))</desc>
> <previous>Zmario</previous>
> 
> [...]
> 
> So, where does this Z prefix come from?

That's the new term generation strategy introduced in
1.0.0:

http://
www.xapian.org/docs/termgenerator.html

Do you have your own indexer?  Are you using stemming?

Cheers,
    Olly

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-12 17:08:42
I've tried it with both the dutch stemmer and no stemmer.
Same results.

I'm using the default indexer.

Cheers,

Maarten

On 6/12/07, Olly Betts <ollysurvex.com> wrote:
> On Tue, Jun 12, 2007 at 03:47:45PM +0200, M.J. van der
Veen wrote:
> > $query description of XAPIAN 1.0.1 and OMEGA
1.0.1:
> >
<desc>Xapian::Query(Zmario:(pos=1))</desc>
> > <previous>Zmario</previous>
> >
> > [...]
> >
> > So, where does this Z prefix come from?
>
> That's the new term generation strategy introduced in
1.0.0:
>
> http://
www.xapian.org/docs/termgenerator.html
>
> Do you have your own indexer?  Are you using stemming?
>
> Cheers,
>    Olly
>

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-13 03:18:27
> > Do you have your own indexer?  Are you using
stemming?

Turns out it does work if I use --stemmer=dutch, but it
doesn't when
using --stemmer=none.
Default stemmer is english right?

Regards,

Maarten

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
user name
2007-06-15 03:07:07
Do you have any solution for this? I don't want to use the
stemmer in
some projects.

Regards,

Maarten


On 6/13/07, M.J. van der Veen <forwardmvanderveen.nl> wrote:
> > > Do you have your own indexer?  Are you using
stemming?
>
> Turns out it does work if I use --stemmer=dutch, but it
doesn't when
> using --stemmer=none.
> Default stemmer is english right?
>
> Regards,
>
> Maarten
>

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: Empty results OMEGA with XAPIAN 1.0.1
country flaguser name
United Kingdom
2007-06-15 03:31:24
On Fri, Jun 15, 2007 at 10:07:07AM +0200, M.J. van der Veen
wrote:

> On 6/13/07, M.J. van der Veen <forwardmvanderveen.nl> wrote:
> >> > Do you have your own indexer?  Are you
using stemming?
> >
> >Turns out it does work if I use --stemmer=dutch,
but it doesn't when
> >using --stemmer=none.
> >Default stemmer is english right?
>
> Do you have any solution for this? I don't want to use
the stemmer in
> some projects.

Can you explain why you talk about the 'default' stemmer
immediately
after --stemmer=none? It's confused me.

Note that you can't change the stemmer used by scriptindex
without
making a code change at the moment. Everything else should
work, as
far as I'm aware.

J

-- 
/-----------------------------------------------------------
---------------
  James Aylett                                              
   xapian.org
  jamestartarus.org                              
uncertaintydivision.org

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )