Re: Synonyms problem

2013-04-03 Thread Shawn Heisey
On 3/29/2013 12:14 PM, Plamen Mihaylov wrote: > Can I ask you another question: I have Magento + Solr and have a > requirement to create an admin magento module, where I can add/remove > synonyms dynamically. Is this possible? I searched google but it seems not > possible. If you change the synony

Re: Synonyms problem

2013-03-29 Thread Plamen Mihaylov
Thank you a lot, Walter. I removed most of the filters and now it returns the same number of results. It looks simply this way:

Re: Synonyms problem

2013-03-29 Thread Walter Underwood
There are several problems with this config. Indexing uses the phonetic filter, but query does not. This almost guarantees that nothing will match. Numbers could match, if the filter passes them. Query time has two stopword filters with different lists. Indexing only has one. This isn't fatal,

Re: Synonyms problem

2013-03-29 Thread Plamen Mihaylov
Guys, This is a commented line where expand is false. I moved the synonym filter after tokenizer, but the result is the same. Actual configuration:

Re: Synonyms problem

2013-03-29 Thread Steve Rowe
The XPath expressions used to collect the charFilter sequence, the tokenizer, and the token filter sequence are evaluated independently of each other - see line #244 through #251:

Re: Synonyms problem

2013-03-29 Thread Walter Underwood
Also, all the filters need to be after the tokenizer. There are two synonym filters specified, one before the tokenizer and one after. I'm surprised that works at all. Shouldn't that be fatal error when loading the config? wunder On Mar 29, 2013, at 9:33 AM, Thomas Krämer | ontopica wrote: >

Re: Synonyms problem

2013-03-29 Thread Thomas Krämer | ontopica
Hi Plamen You should set expand to true during ... Greetings, Thomas Am 29.03.2013 17:16, schrieb Plamen Mihaylov: > Hey guys, > > I have the following problem - I have a website with sport players, where > using Solr indexing their data. I have defined synonyms like: NY, New York. >

Re: Synonyms problem

2011-09-07 Thread Ahmet Arslan
Simply multi-word synonyms are recommended to use at index time. As explained here: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory --- On Wed, 9/7/11, roySolr wrote: > From: roySolr > Subject: Synonyms problem > To: solr-user@lucene.apache.org > Date:

Re: synonyms problem

2011-06-06 Thread Erick Erickson
Please take a look at the analysis page for the field in question. I don't even know what happens if you define ONLY a query analyzer (or you left things out as an efficiency). Substituting synonyms to a string field is suspicious, I assume you're only indexing single tokens in that field. You ha

Re: synonyms problem

2011-06-06 Thread deniz
well i was trying to say that; i have changed the config files for synonyms and so on but nothing happens so i thought i needed to do something in java code too... i was trying to ask about that... - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066

Re: synonyms problem

2011-06-06 Thread Erick Erickson
What does "call synonym methods in Java" mean? That is, what are you trying to accomplish and from where? Best Erick On Sun, Jun 5, 2011 at 9:48 PM, deniz wrote: > well i have changed it into text... but still confused about how to use > synonyms... > > and also I want to know how to call synony

Re: synonyms problem

2011-06-05 Thread deniz
well i have changed it into text... but still confused about how to use synonyms... and also I want to know how to call synonym methods in java... i have tried to use synonymmap and some other similar things but nothing happens... anyone can give me a sample or a website that i can find examples

Re: synonyms problem

2011-06-02 Thread deniz
oh thank you for reminding me about string and text issues... I will change it asap... and about index analyzer i just removed if for brevity... i will try again and if it fails will post here again... thank you so much - Zeki ama calismiyor... Calissa yapar... -- View this message in conte

Re: synonyms problem

2011-06-02 Thread François Schiettecatte
Are you sure solr.StrField is the way to go with this? solr.StrField stores the entire text verbatim and I am pretty sure skips any analysis. Perhaps you should use solr.TextField instead. François On Jun 2, 2011, at 2:28 AM, deniz wrote: > Hi all, > > here is a piece from my solfconfig: >

Re: synonyms problem

2011-06-02 Thread lee carroll
oh and its a string field change this to be text if you need analysis class="solr.StrField" lee c On 2 June 2011 11:45, lee carroll wrote: > Deniz, > > it looks like you are missing an index anlayzer ? or have you removed > that for brevity ? > > lee c > > On 2 June 2011 10:41, Gora Mohanty wr

Re: synonyms problem

2011-06-02 Thread lee carroll
Deniz, it looks like you are missing an index anlayzer ? or have you removed that for brevity ? lee c On 2 June 2011 10:41, Gora Mohanty wrote: > On Thu, Jun 2, 2011 at 11:58 AM, deniz wrote: >> Hi all, >> >> here is a piece from my solfconfig: > [...] >> but somehow synonyms are not read... I

Re: synonyms problem

2011-06-02 Thread Gora Mohanty
On Thu, Jun 2, 2011 at 11:58 AM, deniz wrote: > Hi all, > > here is a piece from my solfconfig: [...] > but somehow synonyms are not read... I mean there is no match when i use a > word in the synonym file... any ideas? [...] Please provide further details, e.g., is your field in schema.xml using

Re: synonyms problem

2010-03-22 Thread Lance Norskog
How large is the document, and how often does 'aberrant' appear in it? Are the other words also in the document? What is the full analysis stack? There might be interactions between the SynonymFilter and other filters. What does the admin/analysis.jsp page show? Does it throw OutOfMemory also? D

Re: synonyms problem

2010-03-22 Thread Armando Ota
Have you tried increasing memory size ? we had some out of memory problems when we used default memory size .. Kind regards Armando michaelnazaruk wrote: Hi all! I have a little problem with synonyms: when I set my synonyms.txt file such as: aberrant=>abnormal,unusual,deviant,anomalous,peculi