Re: [Dspace-tech] Query Solr with special characters

2014-11-13 Thread Ruben
Hi all, I found the fix for this issue and if anyone needs the fix, I'll explain. How I explained before, my idea was escape special characters before they will be sent to solr. This process is being done in the following classes:

[Dspace-tech] Query Solr with special characters

2014-11-12 Thread Ruben
Hi, I noticed that if I use special characters in advanced search, solr doesn't return any results. I read in Lucene documentation that is possible to escape these special characters adding \ in front of them, and I will ask you if it's possible to modify the string query adding the escape

Re: [Dspace-tech] Query Solr with special characters

2014-11-12 Thread Adan Roman
Hi Rubén Try surronding the query between quotes. This can work in most cases, unless the special character is a quote, of course regards Hi, I noticed that if I use special characters in advanced search, solr doesn't return any results. I read in Lucene documentation that is possible to

Re: [Dspace-tech] Query Solr with special characters

2014-11-12 Thread Ruben
Hi Adan, It seems well, but it changes the type of the search that is executed. I think surrounding the query with quotes makes solr search the literal string, and only returns the searches which contains the exactly string entered. If you escape ? character, the results list is different