solr will not give any exceptions .atleast ,there is no code which checks for that. choose names which are valid characters in url
On Mon, May 18, 2009 at 11:08 AM, KK <dioxide.softw...@gmail.com> wrote: > Thank you Otis. > One silly question, how would I know that a particular character is > forbidden, I think Solr will give me exceptions saying that some characters > not allowed, right? > > Thank, > KK. > > On Sun, May 17, 2009 at 3:12 AM, Otis Gospodnetic < > otis_gospodne...@yahoo.com> wrote: > >> >> KK, >> >> That should work just fine. Should any of the characters in email >> addresses turn out to be forbidden, just replace them consistently. For >> example, if @ turns out to be the problem, you could simple replace it with >> _. >> >> Otis >> -- >> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> >> >> >> ----- Original Message ---- >> > From: KK <dioxide.softw...@gmail.com> >> > To: solr-user@lucene.apache.org >> > Sent: Saturday, May 16, 2009 3:45:01 AM >> > Subject: Sole core naming convention for multicores >> > >> > Hi All, >> > I'm trying to put multicores for Solr[lol, finding the multicore config a >> > bit difficult, any good/simple steps to do the same?any pointers]. >> > Let me come to the point, essentially what I want is that whenever a >> person >> > registersfor our service, I'll use his mail-id[this is unique] as the >> > corename. I dont know if its viable or not. As per the wiki example the >> > creation/registration of new core is done like this, >> > >> > >> http://localhost:8983/solr/admin/cores?action=CREATE&name=coreX&instanceDir=path_to_instance_directory&config=config_file_name.xml&schema=schem_file_name.xml&dataDir=data >> > >> > this says the name as something like coreX where X replaces a num. Is it >> > possible to have a name like say "alex...@abc.com"? If not may be I've >> map >> > the mail-id to some unique number that I'll use as a core name. I don't >> want >> > to do all this [don't know either], hence my question. Do let me know >> some >> > smart ways of doing the same. >> > Note: I've to use mail-id as the unique identifier. Thanks in >> appreciation. >> > >> > Thanks, >> > KK> >> >> > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com