Re: How to escape URL at indexing time

2015-12-27 Thread Daniel Valdivia
; > > > > On Sunday, December 27, 2015 10:53 PM, Daniel Valdivia > wrote: > Hi > > I'm trying to index documents that have a URL in some field, however as soon > as I try to index a URL like "http://yahoo.com"; I get error: > > org.apache.

How to escape URL at indexing time

2015-12-27 Thread Daniel Valdivia
Hi I'm trying to index documents that have a URL in some field, however as soon as I try to index a URL like "http://yahoo.com"; I get error: org.apache.lucene.queryparser.classic.ParseException: Cannot parse 'id:'http://www.yahoo.com'': Encountered " ":" ": "" at line 1, column 8. I asume I n