Mailing List Archive

Wildcard searching
Hi, i have experimented with prefixing all Field values with the letter "A" to
allow wildcards * and ? to be positioned first in the a query term.

What i would like to do next is to prefix all the terms produced by the
QueryParser with the letter "A" so the hack is transparent to the user. Is
there a simple way to do this as the Query's subclasses dosn't allow you to
modify the term it holds. Secondly i can not find any way to get al sub
queries of a query. Does anyone here know something really smart i can do
short of learning to program JavaCC ?!?

And in the end: is there a reason why lucene doesn't use java interfaces for
eh. interfaces like the Query class?

mvh karl øie


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Wildcard searching [ In reply to ]
Dear All,

How well does Lucene integrate with Struts ?

regards,

Rakesh.
www.ayilliath.8m.com


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Wildcard searching [ In reply to ]
Like a charm.


----- Original Message -----
From: "Rakesh Ayilliath" <ayilliath@hotmail.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Wednesday, July 03, 2002 12:38 AM
Subject: Re: Wildcard searching


> Dear All,
>
> How well does Lucene integrate with Struts ?
>
> regards,
>
> Rakesh.
> www.ayilliath.8m.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Wildcard searching [ In reply to ]
Could you please help me with some code, especially with the presentation
part.

-Rakesh

----- Original Message -----
From: "Erik Hatcher" <lists@ehatchersolutions.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Wednesday, July 03, 2002 5:30 PM
Subject: Re: Wildcard searching


> Like a charm.
>
>
> ----- Original Message -----
> From: "Rakesh Ayilliath" <ayilliath@hotmail.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, July 03, 2002 12:38 AM
> Subject: Re: Wildcard searching
>
>
> > Dear All,
> >
> > How well does Lucene integrate with Struts ?
> >
> > regards,
> >
> > Rakesh.
> > www.ayilliath.8m.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Wildcard searching [ In reply to ]
There is nothing special to it, really.
With Struts or with anything else you'll use Lucene in pretty much the
same way. With Struts you should write your business logic classes,
JavaBeans or whatever, and call them from your own Struts Action
classes (from perform()). In those business logic classes write the
code that uses Lucene. See the user guide, the included demo, etc. for
code samples.

As for indexing RTF, PDF, M$ Word files, etc., that is covered by an
entry in Lucene's FAQ on jGuru. Why do people never check FAQs before
asking? Hm, this is probably a FAQ, too.

Otis


--- Rakesh Ayilliath <ayilliath@hotmail.com> wrote:
> Could you please help me with some code, especially with the
> presentation
> part.
>
> -Rakesh
>
> ----- Original Message -----
> From: "Erik Hatcher" <lists@ehatchersolutions.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, July 03, 2002 5:30 PM
> Subject: Re: Wildcard searching
>
>
> > Like a charm.
> >
> >
> > ----- Original Message -----
> > From: "Rakesh Ayilliath" <ayilliath@hotmail.com>
> > To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> > Sent: Wednesday, July 03, 2002 12:38 AM
> > Subject: Re: Wildcard searching
> >
> >
> > > Dear All,
> > >
> > > How well does Lucene integrate with Struts ?
> > >
> > > regards,
> > >
> > > Rakesh.
> > > www.ayilliath.8m.com
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:lucene-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Wildcard searching [ In reply to ]
Just like Otis said, there is nothing special about it. In fact, its quite
trivial. I'm guessing that you are unfamiliar with Struts? This
conversation really needs to move to struts-user (but I'm not on that list
currently) where you'll find many fine folks more than happy to help you.

Erik


----- Original Message -----
From: "Rakesh Ayilliath" <ayilliath@hotmail.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Wednesday, July 03, 2002 8:01 AM
Subject: Re: Wildcard searching


> Could you please help me with some code, especially with the presentation
> part.
>
> -Rakesh
>
> ----- Original Message -----
> From: "Erik Hatcher" <lists@ehatchersolutions.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, July 03, 2002 5:30 PM
> Subject: Re: Wildcard searching
>
>
> > Like a charm.
> >
> >
> > ----- Original Message -----
> > From: "Rakesh Ayilliath" <ayilliath@hotmail.com>
> > To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> > Sent: Wednesday, July 03, 2002 12:38 AM
> > Subject: Re: Wildcard searching
> >
> >
> > > Dear All,
> > >
> > > How well does Lucene integrate with Struts ?
> > >
> > > regards,
> > >
> > > Rakesh.
> > > www.ayilliath.8m.com
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:lucene-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>