Hi mark

this is the expected behaviour. A leading wildcard would require a
full termlist scan therefore by default there is a required prefix
length. I think it's set on the querparser. Let me know if you can't
find it and I'll try and find it.

If you are often doing prefixed wildcards, some people will create a
reversed field and use that field instead when appropriate. For
example, a search for filename:*.doc. Can be transformed into
searching for reverse_filename:cod.*. this can be achieved by
overriding the query parser. Nasty but effective trick.

Ben

On Wednesday, November 10, 2010, Mark Ashworth <ashwo...@ca.ibm.com> wrote:
>
>
> Sorry, I sent before changing the subject
> line, I email was about wildcard searching and not "NearSpansUnordered
> bug fix".   I also go 4 copies back from the clucene-developers
> email reflector and I am not sure why, again sorry for the extra bandwidth
> if you got duplicate copies.
>
>
>>
>
>> Hope someone with wildcard searching
> behaviour:
>>
>> I have an index with email address with my email address 
>> (ashwo...@ca.ibm.com):
>
>>
>> I can search for:
>>
>> Searching for: a?hwo...@ca.ibm.com
>>
>>     1. ashwo...@ca.ibm.com - 100.00
>
>>
>> Searching for: ashwo...@ca.ibm*
>>
>>     1. ashwo...@ca.ibm.com - 100.00
>
>>
>> Searching for: ?shwo...@ca.ibm.com
>>
>>     1. ashwo...@ca.ibm.com - 100.00
>
>>
>> Searching for: a?hwo...@ca.ibm*
>>
>>     1. ashwo...@ca.ibm.com - 100.00
>
>>
>> Searching for: ?shwo...@ca.ibm*
>>
>> Does not file any rows when.  This is when there is a leading
> single character wildcard and a multi-character wildcard at the end..
>
>>
>> Is this a bug or expected behaviour?
>>
>> thanks in advance...
>
>
>
>
> -- Mark.
> Mark Ashworth
> IBM Informix Extensibility Architect
> Office phone: +1 (905) 413-5033
> Alternate: +1 (905) 697-8094
> Email: ashwo...@ca.ibm.com
>
> Check out my blog
>
>
>
>
>
>
> From:
> Mark Ashworth/Toronto/i...@ibmca
>
> To:
> clucene-developers@lists.sourceforge.net
>
> Date:
> 11/09/2010 12:59 PM
>
> Subject:
> Re: [CLucene-dev] NearSpansUnordered
> bug fix
>
>
>
>
>
>
> Hope someone with wildcard searching behaviour:
>
> I have an index with email address with my email address 
> (ashwo...@ca.ibm.com):
>
>
> I can search for:
>
> Searching for: a?hwo...@ca.ibm.com
>
>     1. ashwo...@ca.ibm.com - 100.00
>
> Searching for: ashwo...@ca.ibm*
>
>     1. ashwo...@ca.ibm.com - 100.00
>
> Searching for: ?shwo...@ca.ibm.com
>
>     1. ashwo...@ca.ibm.com - 100.00
>
> Searching for: a?hwo...@ca.ibm*
>
>     1. ashwo...@ca.ibm.com - 100.00
>
> Searching for: ?shwo...@ca.ibm*
>
> Does not file any rows when.  This is when there is a leading single
> character wildcard and a multi-character wildcard at the end..
>
>
> Is this a bug or expected behaviour?
>
> thanks in advance...
>
> .
>
>
>
> -- Mark.
> Mark Ashworth
> IBM Informix Extensibility Architect
> Office phone: +1 (905) 413-5033
> Alternate: +1 (905) 697-8094
> Email: ashwo...@ca.ibm.com
>
> Check out my blog
>
>
>
>
>
> From:
>
> Veit Jahns <nuncupa...@googlemail.com>
>
>
> To:
>
> clucene-developers@lists.sourceforge.net
>
>
> Date:
>
> 11/08/2010 04:02 PM
>
>
> Subject:
>
> Re: [CLucene-dev] NearSpansUnordered
> bug fix
>
>
>
>
>
>
> 2010/11/6 Itamar Syn-Hershko <ita...@code972.com>:
>> Where are we with the smart_pointers branchs?
>
> You mean this activity. I thought you meant another one. Actually, I
> think every day about this ;). But in the last months I had not so
> much time to work on it. I hope I can changed this in the next weeks.
>
>> And which of all the fix branches is ready to be merged to master?
>
> german_analyzer and tracker_3094661_fix
>
> Veit
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
>
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
>
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev_______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
>
>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to