Thread: [Lxr-general] Wildcards in general search
Brought to you by:
ajlittoz
From: Dr R. <drr...@gm...> - 2010-01-18 13:25:29
|
Hi, Is there any other wildcards than '?', that can be used in the middle of word when I am using general search? Or is there any way to implement such a feature to Lxr? E.g. I need to find every word that begins with "Please" and ends to "Me" => Please*Me could find words PleaseHelpMe and PleaseYearghMe. There were already one mail about this, but it was related to identifier search and I was not able to use dot (.) as a wildcard. [ [Lxr-general] wildcard identifier search ] I am using Lxr-0.9.6 and Swish-e-2.4.7. Br, Heikki |
From: Adrian I. <adr...@ho...> - 2010-01-18 19:03:16
|
Hi Heikki, In the general search I believe the search term is given straight to the underlying indexer, which in your case is Swish-e. Hence, the best place to look for documentation on searching is their website (http://swish-e.org/docs/swish-search.html ). It suggests that * would solve your problem as that matches zero or more characters. Their example shows it in quotes so that might also be needed. Hope that helps, Adrian On 18 Jan 2010, at 13:25, Dr Roessi <drr...@gm...> wrote: > Hi, > > Is there any other wildcards than '?', that can be used in the middle > of word when I am using general search? Or is there any way to > implement such a feature to Lxr? E.g. I need to find every word that > begins with "Please" and ends to "Me" => Please*Me could find words > PleaseHelpMe and PleaseYearghMe. > > There were already one mail about this, but it was related to > identifier search and I was not able to use dot (.) as a wildcard. [ > [Lxr-general] wildcard identifier search ] > > I am using Lxr-0.9.6 and Swish-e-2.4.7. > > Br, > Heikki > > --- > --- > --- > --------------------------------------------------------------------- > Throughout its 18-year history, RSA Conference consistently attracts > the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important > issues through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Lxr-general mailing list > Lxr...@li... > https://lists.sourceforge.net/lists/listinfo/lxr-general > |
From: Dr R. <drr...@gm...> - 2010-01-20 08:24:06
|
Hi and thanks for your reply Adrian, I have read that Swish-e documentation and there's this limitation: "The wildcard * may only be used at the end of a word." Using * in the middle of word/before word outputs error: Search failed: internal error err: Wildcard not allowed within a word ? works in the middle of word, but it can replace only one character.. I'll have to find out 1. if there are some tricks to get * wildcard work in the middle of word using e.g. MySQL/perl search formats or scripts. 2. or I'll just study whether the Glimpse supports other than trailing wildcards and switch engine from Swish-e to Glimpse. -Heikki On Mon, Jan 18, 2010 at 9:03 PM, Adrian Issott <adr...@ho...> wrote: > Hi Heikki, > > In the general search I believe the search term is given straight to > the underlying indexer, which in your case is Swish-e. Hence, the best > place to look for documentation on searching is their website (http://swish-e.org/docs/swish-search.html > ). > > It suggests that * would solve your problem as that matches zero or > more characters. Their example shows it in quotes so that might also > be needed. > > Hope that helps, > Adrian > > On 18 Jan 2010, at 13:25, Dr Roessi <drr...@gm...> wrote: > >> Hi, >> >> Is there any other wildcards than '?', that can be used in the middle >> of word when I am using general search? Or is there any way to >> implement such a feature to Lxr? E.g. I need to find every word that >> begins with "Please" and ends to "Me" => Please*Me could find words >> PleaseHelpMe and PleaseYearghMe. >> >> There were already one mail about this, but it was related to >> identifier search and I was not able to use dot (.) as a wildcard. [ >> [Lxr-general] wildcard identifier search ] >> >> I am using Lxr-0.9.6 and Swish-e-2.4.7. >> >> Br, >> Heikki >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Throughout its 18-year history, RSA Conference consistently attracts >> the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important >> issues through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> _______________________________________________ >> Lxr-general mailing list >> Lxr...@li... >> https://lists.sourceforge.net/lists/listinfo/lxr-general >> > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Lxr-general mailing list > Lxr...@li... > https://lists.sourceforge.net/lists/listinfo/lxr-general > |