Re: How to search for special chars like ä from ae?
sorry for cross posting, but that is the only I could get my question posted. SOLR Mailing server treats my question as SPAM Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 spam score (5.1) exceeded threshold (FREEMAIL_FROM,FS_REPLICA, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL (state 18). On Tue, Feb 8, 2011 at 3:17 PM, Erick Erickson wrote: > When starting a new discussion on a mailing list, please do not reply to > an existing message, instead start a fresh email. Even if you change the > subject line of your email, other mail headers still track which thread > you replied to and your question is "hidden" in that thread and gets less > attention. It makes following discussions in the mailing list archives > particularly difficult. > > See: http://people.apache.org/~hossman/#threadhijack > > On Tue, Feb 8, 2011 at 5:59 PM, charan kumar > wrote: > > > Hello, > > > > Quick question on solr replication? > > > > What effect does index reload after a replication has on search > requests? > > Can server still respond to user queries with old index? > > > > Especially, during the following phases of replication on slaves. > > > http://wiki.apache.org/solr/SolrReplication#How_does_the_slave_replicate.3F > > > > > > *> After the download completes, all the new files are 'mov'ed to the > > slave's live index directory and the files' timestamps will match the > > timestamps in the master. > > > A 'commit' command is issued on the slave by the Slave's > > ReplicationHandler and the new index is loaded > > > > > > * > > Thanks, > > Charan > > >
Re: How to search for special chars like ä from ae?
When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even if you change the subject line of your email, other mail headers still track which thread you replied to and your question is "hidden" in that thread and gets less attention. It makes following discussions in the mailing list archives particularly difficult. See: http://people.apache.org/~hossman/#threadhijack On Tue, Feb 8, 2011 at 5:59 PM, charan kumar wrote: > Hello, > > Quick question on solr replication? > > What effect does index reload after a replication has on search requests? > Can server still respond to user queries with old index? > > Especially, during the following phases of replication on slaves. > http://wiki.apache.org/solr/SolrReplication#How_does_the_slave_replicate.3F > > > *> After the download completes, all the new files are 'mov'ed to the > slave's live index directory and the files' timestamps will match the > timestamps in the master. > > A 'commit' command is issued on the slave by the Slave's > ReplicationHandler and the new index is loaded > > > * > Thanks, > Charan >
RE: How to search for special chars like ä from ae?
So - how did you end up setting it up? In my reading of the thread, it seems you could have a search for 'mäcman' hit 'macman' or 'maecman', but not both, since you it seems you could only map the ä to a single replacement. Or can it be mapped multiple times, generating multiple tokens? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-search-for-special-chars-like-a-from-ae-tp2444921p2455176.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to search for special chars like ä from ae?
Hello, Quick question on solr replication? What effect does index reload after a replication has on search requests? Can server still respond to user queries with old index? Especially, during the following phases of replication on slaves. http://wiki.apache.org/solr/SolrReplication#How_does_the_slave_replicate.3F *> After the download completes, all the new files are 'mov'ed to the slave's live index directory and the files' timestamps will match the timestamps in the master. > A 'commit' command is issued on the slave by the Slave's ReplicationHandler and the new index is loaded * Thanks, Charan
RE: How to search for special chars like ä from ae?
Hi Anithya, That's good to hear. Again, please consider donating your work: <http://wiki.apache.org/solr/HowToContribute#Making_Changes>. Steve > -Original Message- > From: Anithya [mailto:surysha...@gmail.com] > Sent: Tuesday, February 08, 2011 5:16 PM > To: solr-user@lucene.apache.org > Subject: RE: How to search for special chars like ä from ae? > > > Thanks for the help Steve, it worked!!! > -- > View this message in context: http://lucene.472066.n3.nabble.com/How-to- > search-for-special-chars-like-a-from-ae-tp2444921p2454816.html > Sent from the Solr - User mailing list archive at Nabble.com.
RE: How to search for special chars like ä from ae?
Thanks for the help Steve, it worked!!! -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-search-for-special-chars-like-a-from-ae-tp2444921p2454816.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: How to search for special chars like ä from ae?
Hi Anithya, Yes, that sounds right. You will want to edit mapping-FoldToASCII.txt, and my suggestion is that you rename mapping-FoldToASCII.txt to reflect your changes (for example, if your target language is German, you could rename it to mapping-German-FoldToASCII.txt); otherwise it would be easy to mistake this file for the unchanged original. Steve > -Original Message- > From: Anithya [mailto:surysha...@gmail.com] > Sent: Monday, February 07, 2011 6:28 PM > To: solr-user@lucene.apache.org > Subject: RE: How to search for special chars like ä from ae? > > > Hi Steve, thanks for the reply. I did not understand which file do I need > to > rename? I'm working on Solr 1.4. The file in examples/solr/conf directory > is > mapping-ISOLatin1Accent.txt. The Schema.xml has the following commented > entry. > mapping="mapping-ISOLatin1Accent.txt"/> > > Do I need to replace mapping-ISOLatin1Accent.txt with > http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/ma > pping-FoldToASCII.txt > mapping-FoldToASCII.txt and change the charFilter mapping to > mapping="mapping-FoldToASCII.txt"/> ? > -- > View this message in context: http://lucene.472066.n3.nabble.com/How-to- > search-for-special-chars-like-a-from-ae-tp2444921p2447888.html > Sent from the Solr - User mailing list archive at Nabble.com.
RE: How to search for special chars like ä from ae?
Hi Steve, thanks for the reply. I did not understand which file do I need to rename? I'm working on Solr 1.4. The file in examples/solr/conf directory is mapping-ISOLatin1Accent.txt. The Schema.xml has the following commented entry. Do I need to replace mapping-ISOLatin1Accent.txt with http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/mapping-FoldToASCII.txt mapping-FoldToASCII.txt and change the charFilter mapping to ? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-search-for-special-chars-like-a-from-ae-tp2444921p2447888.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: How to search for special chars like ä from ae?
Hi Anithya, There is a mapping file for MappingCharFilterFactory that behaves the same as ASCIIFoldingFilterFactory: mapping-FoldToASCII.txt, located in Solr's example conf/ directory in Solr 3.1+. You can rename and then edit this file to map "ä" to "ae", " ü" to "ue", etc. (look for "WITH DIAERESIS" to quickly find characters with umlauts in the mapping file). There is a commented-out example of using MappingCharFilterFactory in Solr's example schema.xml. If you are using Solr 1.4.X, you can download the mapping-FoldToASCII.txt file here (from the 3.x source tree): http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/mapping-FoldToASCII.txt Please consider donating your work back to Solr if you decide to go this route. Good luck, Steve > -Original Message- > From: Anithya [mailto:surysha...@gmail.com] > Sent: Monday, February 07, 2011 12:09 PM > To: solr-user@lucene.apache.org > Subject: How to search for special chars like ä from ae? > > > Hi! I want to search for special chars like mäcman by giving similar > worded > simple characters like maecman. > I used and I'm getting > mäcman from macman but I'm not able to get mäcman from maecman. > Can this be done using any other filter? > Thanks, > Anithya > -- > View this message in context: http://lucene.472066.n3.nabble.com/How-to- > search-for-special-chars-like-a-from-ae-tp2444921p2444921.html > Sent from the Solr - User mailing list archive at Nabble.com.
How to search for special chars like ä from ae?
Hi! I want to search for special chars like mäcman by giving similar worded simple characters like maecman. I used and I'm getting mäcman from macman but I'm not able to get mäcman from maecman. Can this be done using any other filter? Thanks, Anithya -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-search-for-special-chars-like-a-from-ae-tp2444921p2444921.html Sent from the Solr - User mailing list archive at Nabble.com.