Hi Aslam,
I guess this is something you are looking for
http://wiki.apache.
org/jakarta-lucene/LuceneFAQ#head-4d62118417eaef0dcb87f43705
83f809848ea695
Remark this:
**Note: Leading wildcards (e.g. *ook) are not supported by
the
QueryParser (although Lucene could handle them -- see the
comment in
QueryParser.jj to enable these kind of queries -- search for
"OG: to
support prefix queries:").
So you have to edit Lucene indexer. Probably you will have
to do some
changes in Slide sources as well.
Regards
Martin
Aslam Bari wrote:
> Hello All,
> I am using DASL to search contents as well as Property
search. I need some
> guideness how to use Wild Cards.
>
> For example:-
> <D:contains>???.txt</D:contains> // What it
will search
>
<D:propcontains><D:prop><D:displayname/>&l
t;/D:prop><D:literal>*jj*</D:literal></D:p
ropcontains>
>
> Confuse with * , % and ? , _
> Plz let me clear.
>
> Also there is a big problem when i use
>
>
<D:contains>*****************line*</D:contains>
> The server gets hang and not working. How to restrict
this?
>
> Thanks...
>
____________________________________
*/Martin Petráš/*
Java Developer Junior
*/S&K Management Systems, s.r.o./*
Záhradnícka 72, SK-821 08 Bratislava
e-mail: petras //at character// skms.sk , www.skms.sk <http://www.skms.sk>
<http://www.skms.sk>
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|