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
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
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
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
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
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
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,
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