Re: index special characters solr

2012-06-05 Thread KPK
Thanks Jack for your help!
I found my mistake, rather than classifying those special characters as
ALPHA , I classified it as a DIGIT. Also I missed the same entry for search
analyzer. So probably that was the reason for not getting relevant results.

I spent a lot of time figuring this out. So I'll paste my code snippet of
schema.xml which was changed for newbies so that they dont waste so much
time in this.
I classified my field as text in which I wanted to search for keywords
including special characters. In fieldType definition modify the filter
class="solr.WordDelimiterFilterFactory"

 
 
in BOTH   and  

And make a new characters.txt in the same folder as schema.xml and add the
content :

 $ => ALPHA
 % => ALPHA


(i wanted $ and % to behave as alphabets so that they could be searched)


Then restart jetty/tomcat

This is how i solved this problem.
Hope this would help someone :)


--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-special-characters-solr-tp3987157p3987891.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: index special characters solr

2012-06-05 Thread KPK
Thanks for your reply!

I tried using the types field in WordDelimiterFilterFactory wherein I was
passing a text file which contained % $ as alphabets. But even then it didnt
get indexed and neither did it show up in search results.
Am I missing something?

Thanks,
Kushal

--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-special-characters-solr-tp3987157p3987888.html
Sent from the Solr - User mailing list archive at Nabble.com.


index special characters solr

2012-05-31 Thread KPK
Hi all
Can somebody please tell me how can I build an index in solr where one of my
field contains special characters like $ , % 
I would also like to search on the same characters on that particular field.

Any advice would be appreciated.

Thanks

--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-special-characters-solr-tp3987157.html
Sent from the Solr - User mailing list archive at Nabble.com.


Queries to solr being blocked

2012-05-25 Thread KPK
Hello

I just wanted to ask if queries to solr index are blocked while delta
import?
I read at the wiki page that queries to solr are not blocked while full
imports, but the page doesnt mention anything about delta import. What 
happens then?

I am currently facing a problem, my query takes very long time to respond.
Currently I am scheduling delta import every 1 min, as my DB size keeps on
increasing every minute. But I doubt this is causing some performance issue.
I doubt if the query is being made to the solr index while the CRON job is
runing at the background for delta import. I am using
DataImportHandlerDeltaQuery Via FullImport for this purpose. 
Is this causing a delay in responding to the query or is it smething else.

Any help would be appreciated.

Thanks,
Kushal

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Queries-to-solr-being-blocked-tp3986181.html
Sent from the Solr - User mailing list archive at Nabble.com.