Re: search for web address

2006-08-21 Thread mark harwood
need to escape the ':' character in your search string. Cheers Mark - Original Message From: ould sid'ahmed <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Monday, 21 August, 2006 9:16:55 AM Subject: Re: search for web address thank you for your respon

Re: search for web address

2006-08-21 Thread ould sid'ahmed
thank you for your response, I use WhiteSpaceAnalyzer for searching, and the field it entirely indexed, I verified with Luke. thanks Erick Erickson a écrit : When you say you use a WhitespaceAnalyzer, is it for both indexing AND searching? That's important. Also, I'd advise getting a copy of

Re: search for web address

2006-08-18 Thread Erick Erickson
When you say you use a WhitespaceAnalyzer, is it for both indexing AND searching? That's important. Also, I'd advise getting a copy of Luke and examining your index to see if what you indexed is indexed as you expect. See http://www.getopt.org/luke/ Best Erick On 8/18/06, ould sid'ahmed <[EMAIL

Re: search for web address

2006-08-18 Thread Simon Willnauer
If you analyze the url http://www.yahoo.fr with the whitespace analyzer you will get one single token looking like that 1: [http://www.yahoo.fr:0->19:word] in an internal representation. so if you search for yahoo.fr you won't get any hit and you cant use left hand wildcards as they are not suppo

Re: search for web address

2006-08-18 Thread ould sid'ahmed
thank you for your response, I index an URL, I use WhiteSpaceAnalyzer, but if do a search at this URL, it returns me nothings, I have an example : I index this URL: "http://www.yahoo.fr";, If I do a search at the word "yahoo.fr", it returns me no result, and if I do the search like "http*", it

Re: search for web address

2006-08-18 Thread Martin Braun
hello ould, sid'ahmed schrieb: > Hello, > I indexed my document but, Can I search for an address web, it returns > me no result, > and when I search the same address with a query like "http*" it returns > me a result, It depends on which analyzer you use: the StandardAnalyzer will do this with

Re: search for web address

2006-08-18 Thread Simon Willnauer
It's like looking for a needle in a haystack without any sinppets of your code. If you provide some infomation about how you index and search the specific field you will get an answer. :) best regards simon On 8/18/06, ould sid'ahmed <[EMAIL PROTECTED]> wrote: Hello, I indexed my document but,

search for web address

2006-08-18 Thread ould sid'ahmed
Hello, I indexed my document but, Can I search for an address web, it returns me no result, and when I search the same address with a query like "http*" it returns me a result, can you help me thanks - To unsubscribe, e-mai