<div class="im" style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div style="color:rgb(34,34,34)">i tried that too ;)</div><div style="color:rgb(34,34,34)"><br></div>
<a href="http://comments.gmane.org/gmane.comp.search.xapian.general/9403">http://comments.gmane.org/gmane.comp.search.xapian.general/9403</a><div style="color:rgb(34,34,34)"><font><br></font></div><div style="color:rgb(34,34,34)">
<font>Perhaps you can try this:</font></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div style="color:rgb(80,0,80)"><br><div class="im">MBA => Master of business administration<br>
</div></div><div>db.add_synonym("<span style="color:rgb(0,0,0);font-family:arial;font-size:small">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">master</span>");</div><div>
db.add_synonym("<span style="font-size:small;color:rgb(0,0,0);font-family:arial">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">business</span>");</div><div>db.add_synonym("<span style="font-size:small;color:rgb(0,0,0);font-family:arial">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">administration</span>");</div>
<div class="im" style="color:rgb(80,0,80)"><div><br></div><div>And hope for the best ;)</div></div></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
When you use a stemmer, perhaps you have to write Zmaster, Z...</span><font><font face="arial,helvetica,sans-serif"><br clear="all"></font></font><br><br><div class="gmail_quote">2012/10/4 QE :: Felix Ostmann <span dir="ltr"><<a href="mailto:ostmann@qe.de" target="_blank">ostmann@qe.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">i tried that too ;)</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><a href="http://comments.gmane.org/gmane.comp.search.xapian.general/9403" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">http://comments.gmane.org/gmane.comp.search.xapian.general/9403</a><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<font><br></font></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><font>Perhaps you can try this:</font></div></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<div style="color:rgb(80,0,80)"><br><div class="im">MBA => Master of business administration<br></div></div><div>db.add_synonym("<span style="color:rgb(0,0,0);font-family:arial;font-size:small">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">master</span>");</div>
<div>db.add_synonym("<span style="font-size:small;color:rgb(0,0,0);font-family:arial">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">business</span>");</div><div>db.add_synonym("<span style="font-size:small;color:rgb(0,0,0);font-family:arial">mba</span>","<span style="color:rgb(0,0,0);font-family:arial;font-size:small">administration</span>");</div>
<div class="im">
<div><br></div><div>And hope for the best ;)</div></div></div>
<span style="font-family:arial,sans-serif"><br>When you use a stemmer, perhaps you have to write Zmaster, Z...<br><br><br>Mit freundlichem Gruß<br>Felix Ostmann<br>
</span>
<br><span style="color:rgb(102,102,102);font-family:courier new,monospace">
-----------------------------------------------------------<br>
QE GmbH & Co. KG, Martinistraße 3, D-49080 Osnabrück<br>
-----------------------------------------------------------<br>
Tel.: +49 (0) 541 / 40666 0, Fax: +49 (0) 541 / 40666 22<br>
Email: <a href="mailto:info@qe.de" target="_blank">info@qe.de</a>, Web: <a href="http://www.qe.de" target="_blank">www.qe.de</a><br>
-----------------------------------------------------------<br>
AG Osnabrück - HRA 200252, Ust-IdNr.: DE814737310<br>
-----------------------------------------------------------<br>
Komplementärin: QE24 GmbH, AG Osnabrück - HRB 200359,<br>
Geschäftsführer: Ansas Meyer, Firmensitz: Osnabrück<br>
-----------------------------------------------------------<br>
<br>
Die in dieser Email enthaltenen Informationen sind vertrau-<br>
lich zu behandeln und ausschließlich für den Adressaten be-<br>
stimmt. Jegliche Veröffentlichung, Verteilung oder sonstige<br>
in diesem Zusammenhang stehende Handlung wird ausdrücklich<br>
untersagt.</span><br>
<br><br><div class="gmail_quote">2012/10/4 Naveen A.N. <span dir="ltr"><<a href="mailto:naveen@searchlabs.org" target="_blank">naveen@searchlabs.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
Hello,<div><br></div><div>I am looking for a documentation or an example to use the synonym function.</div><div><br></div><div>I tried this </div><div><br></div><div>db.add_synonym("omega","xapain");</div>
<div><br></div><div>and this works by adding the flag FLAG_AUTO_SYNONYMS. </div><div><br></div><div>If i try to use the </div><div>db.add_synonym("omega","xapain is search engine ");</div><div><br></div>
<div>it fails why? Can xapian use synonym for Abbreviations like MBA => Master of business administration?</div><span><font color="#888888"><div><br></div><div>--Naveen.A.N</div>
</font></span><br></div></div><div class="im">_______________________________________________<br>
Xapian-devel mailing list<br>
<a href="mailto:Xapian-devel@lists.xapian.org" target="_blank">Xapian-devel@lists.xapian.org</a><br>
<a href="http://lists.xapian.org/mailman/listinfo/xapian-devel" target="_blank">http://lists.xapian.org/mailman/listinfo/xapian-devel</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>