Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
I´ve been re-reading about that in older solr-mail-list messages, and it seems that a query like 'field:*' implies that internally the whole terms indexed are checked one by one even if they are some caches filled for that field. That make reasonable my poor performance in the past. However, it ma

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
I´ve tried this kind of queries in the past but I detected that they have a poor performance and that they are incredibly slow. But it´s just my experience, maybe someone can share with us any other opinion. 2013/7/30 Raymond Wiker > On Jul 30, 2013, at 22:05 , Luis Cappa Banda wrote: > > Anyw

Re: Email regular expression.

2013-07-30 Thread Raymond Wiker
On Jul 30, 2013, at 22:05 , Luis Cappa Banda wrote: > Anyway, I still need to do a query like the following to retrieve those > documents with at least one E-mail detected: > > http://localhost:8080/mysolr/select?q=emails:[* TO > *]&start=0&rows=10&sort=mydate desc Can't you just use emails:* ?

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
t;> Any particular reason that you're trying to reinvent the wheel? >> >> -- Jack Krupansky >> >> -Original Message- From: Luis Cappa Banda >> Sent: Tuesday, July 30, 2013 10:53 AM >> To: solr-user@lucene.apache.org >> Subject: Email regular

Re: Email regular expression.

2013-07-30 Thread Luis Cappa Banda
at you're trying to reinvent the wheel? > > -- Jack Krupansky > > -Original Message- From: Luis Cappa Banda > Sent: Tuesday, July 30, 2013 10:53 AM > To: solr-user@lucene.apache.org > Subject: Email regular expression. > > > Hello everyone! > > Unfort

Re: Email regular expression.

2013-07-30 Thread Jack Krupansky
bject: Email regular expression. Hello everyone! Unfortunately I have to search all E-mail addresses found in a text field from each document. I've been reading for a while how to use RegExp's in Solr, but after trying some of them they didn't work. I've noticed that Lucene RegExp

Re: Email regular expression.

2013-07-30 Thread Steve Rowe
Luis, do you know about UAX29URLEmailTokenizerFactory?: On Jul 30, 2013, at 10:53 AM, Luis Cappa Banda wrote: > Hello everyone! > > Unfortunately I have to search all E-mail addresses found in a te

Re: Email regular expression.

2013-07-30 Thread Andy Lester
On Jul 30, 2013, at 9:53 AM, Luis Cappa Banda wrote: > The syntax is the following: > > *E-mail: * > text:/[a-z0-9_\|-]+(\.[a-z0-9_\|-]|)*@[a-z0-9-]|(\.[a-z0-9-]|)*\.([a-z]{2,4})/ Please note that the question of "How do I write a regex to match an email address" is one of the most discussed

Email regular expression.

2013-07-30 Thread Luis Cappa Banda
Hello everyone! Unfortunately I have to search all E-mail addresses found in a text field from each document. I've been reading for a while how to use RegExp's in Solr, but after trying some of them they didn't work. I've noticed that Lucene RegExp syntax sometimes is very different from the class