Re: Synonyms relationships

2018-10-31 Thread Doug Turnbull
Synonyms in Solr are really a kind of "programmers" tool, useful for mapping terms to other terms. This need not correspond to linguistic notions of a synonym or hypernomy/hyponomy. That being said, there's probably half a dozen approaches for doing these kinds of taxonomical relationships in Solr

Re: synonyms for Solr Cloud -

2018-09-30 Thread Zheng Lin Edwin Yeo
You can have the synonyms text file in the same config folder as the rest of your files like solrconfig.xml that you will push to Solr Cloud. When you push the config file to Solr Cloud, the synonyms text file will be push in to Solr Cloud together. In your solrconfig.xml, you will need to add the

Re: synonyms question

2018-07-18 Thread ennio
Vicenzo, Thank you for the tip. I restarted Solr and it worked. -Ennio -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: synonyms question

2018-07-17 Thread Vincenzo D'Amore
Have you reloaded the core (or restarted Solr) after the change in the synonyms file? Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 17 Jul 2018, at 20:04, ennio wrote: > > No not using SolrCloud. > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: synonyms question

2018-07-17 Thread ennio
No not using SolrCloud. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: synonyms question

2018-07-17 Thread Vincenzo D'Amore
Ennio, do you know if you have SolrCloud? On Tue, Jul 17, 2018 at 7:19 PM ennio wrote: > Erick, > > I'm invoking the synonym at query time. > > Here is my fieldType definition. > > positionIncrementGap="100"> > > > > ignoreCase="true" > w

Re: synonyms question

2018-07-17 Thread ennio
Erick, I'm invoking the synonym at query time. Here is my fieldType definition. -- Sent from: http://lucene.472066.n3.nabble.com/Sol

Re: synonyms question

2018-07-17 Thread Andrea Gazzarini
Hi Ennio, could you please share: * your configuration (specifically the field type declaration in your schema) * the query (please add debug=true) and the corresponding query response Best, Andrea On 17/07/18 17:35, Ennio Bozzetti wrote: I'm trying to get my synonyms to work, but for thi

Re: synonyms question

2018-07-17 Thread Erick Erickson
You have to look at the analysis chain for text_en. Is the synonym factory being invoked? If so at indexing time or query time? If indexing time, did you have the synonym defined when you indexed the data originally? If in cloud mode did you push the configs to Zookeeper and reload the collection b

RE: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Daniel Moura
de dezembro de 2016 16:01 To: solr-user Subject: Re: Synonyms in query time, configured as managed resouces What happens when you test it? Are you getting some kind of error? Best, Erick On Mon, Dec 26, 2016 at 7:19 AM, Daniel Moura wrote: > Hi all! > > I will need your help guys. &

Re: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Erick Erickson
What happens when you test it? Are you getting some kind of error? Best, Erick On Mon, Dec 26, 2016 at 7:19 AM, Daniel Moura wrote: > Hi all! > > I will need your help guys. > > We now need to know if the following definition is correct to have synonyms > in query time and configured as manag

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Jack Krupansky
Index-time synonym expansion maximizes recall (not missing any documents, especially partial matches), but minimizes precision and relevancy - you are unable to select or boost exact matches. Ditto for ngrams. As Erik indicates, using edismax with separate fields for precision (exact matches) and

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Erik Hatcher
One technique that works well is to use copyField to end up with two indexed fields, one with synonyms, one without. Then you can qf=title^5 title_with_synonyms^1 with edismax and weight the “exacter” field higher than one with synonyms. — Erik Hatcher, Senior Solutions Architect http://www.lu

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Brian Narsi
I do not have synonyms enabled at query time. Below is my fieldtype On Tue, Dec 1, 2015 at 4:18 AM, Markus Jelsma wrote: > Hello - it looks like you have synonyms enabled at query time, which is > fine, but also means TF*IDF stats are different for tbrush and toothbrush, > causing t

RE: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Markus Jelsma
Hello - it looks like you have synonyms enabled at query time, which is fine, but also means TF*IDF stats are different for tbrush and toothbrush, causing this order to be the way it is. There is no solution available in Solr right now that would boost user-entered terms over expanded synonyms b

Re: Synonyms within FQ

2015-06-01 Thread John Blythe
Thanks Erick! On Mon, Jun 1, 2015 at 11:29 AM, Erick Erickson wrote: > For future reference, fq clauses are parsed just like the q clause; > they can be arbitrarily complex. > Best, > Erick > On Mon, Jun 1, 2015 at 5:52 AM, John Blythe wrote: >> after further investigation it looks like the syn

Re: Synonyms within FQ

2015-06-01 Thread Erick Erickson
For future reference, fq clauses are parsed just like the q clause; they can be arbitrarily complex. Best, Erick On Mon, Jun 1, 2015 at 5:52 AM, John Blythe wrote: > after further investigation it looks like the synonym i was testing against > was only associated with one of their multiple divis

Re: Synonyms within FQ

2015-06-01 Thread John Blythe
after further investigation it looks like the synonym i was testing against was only associated with one of their multiple divisions (despite being the most common name for them!). it looks like this may clear the issue up, but thanks anyway! -- *John Blythe* Product Manager & Lead Developer 251

Re: Synonyms Search using solr

2014-10-23 Thread Walter Underwood
Use the SynonymFilterFactory in the indexer part of your analyzer chain. https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ On Oct 23, 2014, at 11:04 PM, Danesh Kuruppu wrote: >

Re: Synonyms - 20th and 20

2014-06-19 Thread Erick Erickson
You almost certainly have WordDelimiterFilterFactory in your analysis chain after the synonym insertion. It's _job_ is to split on letter/non-letter transitions. The admin/analysis page is your friend. Best, Erick On Wed, Jun 18, 2014 at 12:47 PM, Diego Fernandez wrote: > What tokenizer and fil

Re: Synonyms - 20th and 20

2014-06-18 Thread Diego Fernandez
What tokenizer and filters are you using? Diego Fernandez - 爱国 Software Engineer US GSS Supportability - Diagnostics - Original Message - > I have a synonyms.txt file which has > 20th,twentieth > > Once I apply the synonym, I see "20th", "twentieth" and "20" for "20th". > Does anyone kn

Re: Synonyms and spellings

2014-01-28 Thread rashmi maheshwari
Thanks for quick response Alexei. I will check this link to prepare synonym list. On Tue, Jan 28, 2014 at 11:00 PM, Alexei Martchenko < ale...@martchenko.com.br> wrote: > 2) There are some synonym lists on the web, they aren't always complete but > I keep analyzing fields and tokens in order to

Re: Synonyms and spellings

2014-01-28 Thread Alexei Martchenko
2) There are some synonym lists on the web, they aren't always complete but I keep analyzing fields and tokens in order to polish my synonyms. And I like to use tools like http://www.visualthesaurus.com/ to aid me. Hope this helps :-) alexei martchenko Facebook

Re: synonyms and term position

2013-10-09 Thread Alvaro Cabrerizo
The synonyms.txt has defined the next associations defined. AIO=>All in one aio=>all-in-one Regards. On Wed, Oct 9, 2013 at 11:05 AM, Alvaro Cabrerizo wrote: > No, it has no synonyms. > > > On Wed, Oct 9, 2013 at 10:48 AM, Furkan KAMACI wrote: > >> Does "two" has a synonym of "in" and "one"? >

Re: synonyms and term position

2013-10-09 Thread Alvaro Cabrerizo
No, it has no synonyms. On Wed, Oct 9, 2013 at 10:48 AM, Furkan KAMACI wrote: > Does "two" has a synonym of "in" and "one"? > > > 2013/10/9 Furkan KAMACI > >> Does "two" has a synonym of "in" and "one"? >> >> >> 2013/10/9 Alvaro Cabrerizo >> >>> Sure, >>> >>> Find attached the screenshots with

Re: synonyms and term position

2013-10-09 Thread Furkan KAMACI
Does "two" has a synonym of "in" and "one"? 2013/10/9 Furkan KAMACI > Does "two" has a synonym of "in" and "one"? > > > 2013/10/9 Alvaro Cabrerizo > >> Sure, >> >> Find attached the screenshots with almost all the analysis, (dont worry >> about the lowercase and the porter stemmer) >> >> Regar

Re: synonyms and term position

2013-10-09 Thread Alvaro Cabrerizo
Sure, Find attached the screenshots with almost all the analysis, (dont worry about the lowercase and the porter stemmer) Regards. On Wed, Oct 9, 2013 at 10:17 AM, Furkan KAMACI wrote: > Could you send screenshot of admin Analysis page when trying to analyze > that words? > > > 2013/10/9 Al

Re: synonyms and term position

2013-10-09 Thread Furkan KAMACI
Could you send screenshot of admin Analysis page when trying to analyze that words? 2013/10/9 Alvaro Cabrerizo > Hi: > > I'm involved in a process o upgrade solr from 1.4 to 4.4 and I'm having a > problem using SynonymFilterFactory within the process chain > SynonymFilterFactory, StopFilterFac

Re: synonyms not working

2013-09-11 Thread cheops
thanx for your help. could solve the problem meanwhile! i used ...which is wrong, it must be -- View this message in context: http://lucene.472066.n3.nabble.com/synonyms-not-working-tp4089318p4089345.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: synonyms not working

2013-09-11 Thread Erick Erickson
Attach &debug=query to your URL and inspect the parsed query, you should be seeing the substitutions if you're configured correctly. Multi-word synonyms at query time have the "getting through the query parser" problem. Best Erick On Wed, Sep 11, 2013 at 11:04 AM, cheops wrote: > Hi, > I'm usi

Re: Synonyms with wildcard search

2013-07-30 Thread Jack Krupansky
Sorry, but Solr synonym processing does not know about wildcards, so it is bypassed when a wildcard is present. Technically, it could probably be enhanced to support them, at least for some common special cases such as yours, but that prospect won't help you right now. Your best bet is to pr

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 and trailing wildcard

2013-01-15 Thread Jack Krupansky
It's certainly true that wildcard suppresses the synonym filter since it is not "multi-term aware." Other than implementing your own version of the synonym filter that was multi-term aware and interpreted wildcards, you may have to do your own preprocessor. Or, you could do index-time synony

Re: Synonyms Phrase not working

2012-10-02 Thread Mikhail Khludnev
Gustav, AFAIK, multi words synonyms is one of the weak points for Lucene/Solr. I'm going to propose a solution approach at forthcoming Eurocon http://www.apachecon.eu/schedule/presentation/18/ . You are welcome! -- Sincerely yours Mikhail Khludnev Tech Lead Grid Dynamics

Re: Synonyms Phrase not working

2012-10-01 Thread Bernd Fehling
Hi, because your search for /?q=produto_nome:"lubrificante intimo" is a phrase search and will be handled different. Your other search gets the synonyms, but the last synonym is a multi-word synonym and not a phrase ... produto_nome:lubrificante intimo) )) See also: http://wiki.apache.org/solr/

Re: Synonyms and hyphens

2012-07-10 Thread Chris Hostetter
Which version of Solr are you using? : Terms with embedded special characters are treated as phrases with spaces in : place of the special characters. So, "gb-mb" is treated as if you had enclosed : the term in quotes. take a look at "autoGeneratePhraseQueries" option on your field type ... dep

Re: Synonyms and Regions Taxonomy

2012-07-05 Thread Tri Cao
I don't think there's a synonym file for this use case. I am not even sure if synonym is the right way to handle it. I think the better way to improve recall is to mark up your documents with a "hidden" field of is the geographic relations. For example, before indexing, you can add a field to all

Re: Synonyms and hyphens

2012-07-04 Thread Jack Krupansky
You could pre-process your queries to convert hyphen and other special characters to spaces. -- Jack Krupansky -Original Message- From: Alireza Salimi Sent: Wednesday, July 04, 2012 12:56 PM To: solr-user@lucene.apache.org Subject: Re: Synonyms and hyphens ok, so how can I prevent

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
eza Salimi > Sent: Wednesday, July 04, 2012 12:05 PM > > To: solr-user@lucene.apache.org > Subject: Re: Synonyms and hyphens > > Wow, I didn't know that. Is there a way to disable this feature? I mean, is > it something coming from the Analyzer? > > On Wed, Jul 4, 2012 at 12:26

Re: Synonyms and hyphens

2012-07-04 Thread Jack Krupansky
Krupansky -Original Message- From: Alireza Salimi Sent: Wednesday, July 04, 2012 12:05 PM To: solr-user@lucene.apache.org Subject: Re: Synonyms and hyphens Wow, I didn't know that. Is there a way to disable this feature? I mean, is it something coming from the Analyzer? On Wed,

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
So, "gb-mb" is treated as if you had > enclosed the term in quotes. > > -- Jack Krupansky > -Original Message- From: Alireza Salimi > Sent: Wednesday, July 04, 2012 6:50 AM > To: solr-user@lucene.apache.org > Subject: Re: Synonyms and hyphens > > > Hi

Re: Synonyms and hyphens

2012-07-04 Thread Jack Krupansky
M To: solr-user@lucene.apache.org Subject: Re: Synonyms and hyphens Hi, Does anybody know why hyphen '-' and q.op=AND causes such a big difference between the two queries? I thought hyphens are removed by StandardTokenizer which means theoretically the two queries should be the same! T

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
Hi, Does anybody know why hyphen '-' and q.op=AND causes such a big difference between the two queries? I thought hyphens are removed by StandardTokenizer which means theoretically the two queries should be the same! Thanks On Tue, Jul 3, 2012 at 4:05 PM, Alireza Salimi wrote: > Hi, > > I'm not

Re: synonyms + default "and"

2012-06-26 Thread Upayavira
Try using expand=true at both index and query time. Then all terms will be there in all queries. Upayavira On Tue, Jun 26, 2012, at 01:42 AM, flyingeagle-de wrote: > Hello, > > I've a problem using the synonyms.txt and a default "and" in my search. > > Using a lot of fields in my query I want t

Re: synonyms

2012-05-03 Thread Jack Krupansky
query terms before completing the term analysis. But, that won't do you any good if you are not using the Lucid products. -- Jack Krupansky -Original Message- From: Noordeen, Roxy Sent: Thursday, May 03, 2012 9:08 AM To: solr-user@lucene.apache.org Subject: RE: synonyms Jack, I

RE: synonyms

2012-05-03 Thread Noordeen, Roxy
H, DX, tripleh, hhh. Thanks Roxy -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Wednesday, May 02, 2012 8:53 PM To: solr-user@lucene.apache.org Subject: Re: synonyms There are lots of different strategies for dealing with synonyms, depending on what ex

Re: synonyms

2012-05-02 Thread Sohail Aboobaker
I think regular sync of database table with synonym text file seems to be simplest of the solutions. It will allow you to use Solr natively without any customization and it is not very complicated operation to update synonyms file with entries in database. > >

Re: synonyms

2012-05-02 Thread Jack Krupansky
string fields. If that is sufficient for your application, great. -- Jack Krupansky -Original Message- From: Carlos Andres Garcia Sent: Wednesday, May 02, 2012 6:57 PM To: solr-user@lucene.apache.org Subject: RE: synonyms Thanks for your answers, now I have another cuestions,if I

RE: synonyms

2012-05-02 Thread Carlos Andres Garcia
Thanks for your answers, now I have another cuestions,if I develop the filter to replacement the current synonym filter,I understand that this procces would be in time of the indexing because in time of the query search there are a lot problems knows. if so, how can I do for create my index file.

RE: synonyms

2012-05-02 Thread Noordeen, Roxy
:54 PM To: solr-user@lucene.apache.org Subject: Re: synonyms I'm not sure I completely follow, but are you simply saying that you want to have a synonym filter that reads the synonym table from a database rather than the current text file? If so, sure, you could develop a replacement for

Re: synonyms

2012-05-02 Thread Jack Krupansky
I'm not sure I completely follow, but are you simply saying that you want to have a synonym filter that reads the synonym table from a database rather than the current text file? If so, sure, you could develop a replacement for the current synonym filter which loads its table from a database, bu

Re: Synonyms file in solr

2012-04-25 Thread Lee Carroll
Your example are not synonyms so i don't think synonyms.txt by itself is going to work. This sounds like tagging using a taxonomy. Values written to the field storing this taxonomy could be like: livingthing/animal/cat [doc about cats] livingthing/animal/dog [doc about dogs] livingthing/animal [do

Re: synonyms with dashes '-'

2011-12-06 Thread Erick Erickson
Details matter. Your analysis chain on the field may well be the issue. Look at the terms in the field (admin/schema browser). Look at &debugQuery=on to see how the query is parsed Look at the admin/analysis page to see the effects of the analysis chain. You might review: http://wiki.apache.org/s

Re: Synonyms 1 fetching 2001, how to avoid

2011-11-25 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists You haven't shown the relevant parts of your configs. You haven't shown the queries you're using, with &debugQuery=on You haven't shown the input You haven't explained why you think synonyms have anything to do with the problem. So it'

Re: Synonyms Not Working when using SRC & DEST

2011-09-07 Thread balaji
> So, if instead of: > > allergy test => Doctors, Doctors-Medical, PHYSICIANS, Physicians & > Surgeons > > You specified > > > allergy test => allergy test, Doctors, Doctors-Medical, PHYSICIANS, > Physicians & Surgeons > > I followed the above approach " allergy test => allergy test, Doctors,

RE: Synonyms Not Working when using SRC & DEST

2011-09-07 Thread Jaeger, Jay - DOT
age- From: balaji [mailto:mcabal...@gmail.com] Sent: Tuesday, September 06, 2011 7:48 PM To: solr-user@lucene.apache.org Subject: Re: Synonyms Not Working when using SRC & DEST > It won't work given your current schema. To get the desired results, you > would need to expand your syn

RE: Synonyms Not Working when using SRC & DEST

2011-09-07 Thread Jaeger, Jay - DOT
rrent client search threads sending HTTP search requests (done in perl) we averaged about .50 seconds per request, or over 55,000 searches per hour. JRJ -Original Message- From: balaji [mailto:mcabal...@gmail.com] Sent: Tuesday, September 06, 2011 7:48 PM To: solr-user@lucene.apache.or

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 Not Working when using SRC & DEST

2011-09-06 Thread balaji
> It won't work given your current schema. To get the desired results, you > would need to expand your synonyms at both index AND query time. Right now > your schema seems to specify it only at index time. > I have a very huge schema spanning up to 10K lines , if I use query time it will be huge

RE: Synonyms Not Working when using SRC & DEST

2011-09-06 Thread Jaeger, Jay - DOT
d get expanded during a search, and hit the documents with Doctors, etc. JRJ -Original Message- From: balaji [mailto:mcabal...@gmail.com] Sent: Tuesday, September 06, 2011 12:24 PM To: solr-user@lucene.apache.org Subject: Re: Synonyms Not Working when using SRC & DEST Hi Chris

Re: Synonyms Not Working when using SRC & DEST

2011-09-06 Thread balaji
Hi Chris The Terms Doctors , Doctors-Medical are all present in my Document body, title fields etc.. but Allergy Test is not . So what I am doing in synonym file is if a user searches for allergy test bring me results that match Doctors etc.. i.e Explicit mappings match any token sequence on

Re: Synonyms Not Working when using SRC & DEST

2011-09-06 Thread Chris Hostetter
: *allergy test => Doctors, Doctors-Medical, PHYSICIANS, Physicians & : Surgeons .. : ... : ... : But when I do a search for allergy , I get 0 results You've configured your field so that any time the terms "allergy" and "test" appear in sequence in a field value you

Re: synonyms vs replacements

2011-08-29 Thread Erick Erickson
See here abou the "multi word" problem http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory As for the rest, it's a tradeoff (surprise, surprise, surprise ). You're right, expanding at index time leads to a somewhat larger index, but less complex queries. And

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 valid only in specific categories of data

2011-06-01 Thread Spyros Kapnissis
@lucene.apache.org Sent: Wednesday, June 1, 2011 12:23 PM Subject: Re: Synonyms valid only in specific categories of data I don't think you can assign a synonyms file dynamically to a field. you would need to create multiple fields for each lang / cat phrases and have their own synonyms file referenced for

Re: Synonyms valid only in specific categories of data

2011-06-01 Thread lee carroll
I don't think you can assign a synonyms file dynamically to a field. you would need to create multiple fields for each lang / cat phrases and have their own synonyms file referenced for each field. that would be a lot of fields. On 1 June 2011 09:59, Spyros Kapnissis wrote: > Hello to all,

Re: Synonyms: whitespace problem

2011-03-30 Thread royr
Thanks, it works! -- View this message in context: http://lucene.472066.n3.nabble.com/Synonyms-whitespace-problem-tp2730953p2753720.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Synonyms: whitespace problem

2011-03-25 Thread Ahmet Arslan
> I have a problem with the synonyms. SOLR strips the > synonyms on white space. > An example: > > manchester united, reds, manunited > > My index looks like this: > > manchester > united > red > manunited > > i want this: > manchester united > red > manunited You can escape white spaces with

Re: Synonyms question

2011-03-08 Thread Jan Høydahl
http://lmgtfy.com/?q=solr+synonym (First hit gives many examples) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 8. mars 2011, at 10.06, Darx Oman wrote: > Hi guys > > How to put this in synonyms.txt > > US > > USA > > United States of America

Re: synonyms file, and example cases

2011-01-25 Thread Stefan Matheis
Cam, the examples with the provided inline-documentation should help you, no? http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory The Backslash \ in that context looks like an Escaping-Character, to avoid the => to be interpreted as "assign-command" Regards Stef

Re: Synonyms at index time

2011-01-11 Thread Grant Ingersoll
On Jan 10, 2011, at 10:57 PM, TxCSguy wrote: > > Hi, > > I'm not sure if this question is better posted in Solr - User or Solr - Dev, > but I'll start here. > > I'm interested to find some documentation that describes in detail how > synonym expansion is handled at index time. > http://www.l

Re: synonyms database

2010-12-23 Thread lee carroll
Hi ramzesua, Synonym lists will often be application specific and will of course be language specific. Given this I don't think you can talk about a generic solr synonym list, just won't be very helpful in lots of cases. What are you hoping to achieve with your synonyms for your app? On 23 Dec

Re: synonyms not working with copyfield

2010-05-17 Thread Chris Hostetter
: fields during indexing. However, my search interface is just a text : box like Google and I need to take the query and return only those : documents that match ALL terms in the query and if I am going to take as mentioned previously in this thread: this is exactly what the dismax QParser was d

Re: synonyms not working with copyfield

2010-05-13 Thread Nick Martin
> the query analysis has to "make sense" for the index analysis, so it has >> to be consistent. >> >> >> >> -Hoss >> >> >> >> >> View message @ >> http://lucene.472066.n3.nabble.com/synonyms-not-working-with-copyfield-tp814

Re: synonyms not working with copyfield

2010-05-13 Thread surajit
gt; > > View message @ > http://lucene.472066.n3.nabble.com/synonyms-not-working-with-copyfield-tp814108p815302.html > To unsubscribe from Re: synonyms not working with copyfield, click here. > -- View this message in context: http://lucene.472066.n3.

Re: synonyms not working with copyfield

2010-05-13 Thread Chris Hostetter
: which is good, but the different fields that I copy into the copyfield need : different analysis and I no longer am able to do that. I can, of course, Fundementally, Solr can only apply a single analysis chain to all of the text in a given field -- regardless of where it may be copied from. i

Re: synonyms not working with copyfield

2010-05-13 Thread Sachin
take a look at the DismaxRequestHandler: http://wiki.apache.org/solr/DisMaxRequestHandler -Original Message- From: surajit To: solr-user@lucene.apache.org Sent: Thu, May 13, 2010 9:52 pm Subject: Re: synonyms not working with copyfield Thanks much! I added a synonym

Re: synonyms not working with copyfield

2010-05-13 Thread surajit
Thanks much! I added a synonym filter to the copyfield and it started working which is good, but the different fields that I copy into the copyfield need different analysis and I no longer am able to do that. I can, of course, search against the individual fields instead of the copyfield, but I wa

Re: synonyms not working with copyfield

2010-05-13 Thread Ahmet Arslan
> I have indexed person names in solr using synonym expansion > and am getting a > match when I explicitly use that field in my query > (name:query). However, > when I copy that field into another field using copyfield > and search on that > field, I don't get a match. Below are excerpts from > sch

Re: synonyms not working with copyfield

2010-05-13 Thread Gary
Hi Surajit I aint sure if this is any help, but I had a similar problem but with stop words, they were not working with dismax queries. Well to cut a long story it seems that all the querying fields need to be configured with stopwords. Maybe this has the similar affect with Synonyms confguratio

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

Re: Synonyms from Database

2010-01-11 Thread Erik Hatcher
On Jan 11, 2010, at 5:50 AM, Shalin Shekhar Mangar wrote: On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher wrote: On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: The reload feature actually sounds quite neat - it will reload "in the background", and "switch in" the newly read configurati

Re: Synonyms from Database

2010-01-11 Thread Shalin Shekhar Mangar
On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher wrote: > > On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: > >> The reload feature actually sounds quite neat - it will reload "in the >> background", and "switch in" the newly read configuration when it's ready - >> so hopefully no down-time waiting

Re: Synonyms from Database

2010-01-11 Thread Erik Hatcher
On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: The reload feature actually sounds quite neat - it will reload "in the background", and "switch in" the newly read configuration when it's ready - so hopefully no down-time waiting for configuration. Correct me if I'm wrong, but I don't thin

RE: Synonyms from Database

2010-01-11 Thread Peter A. Kirk
hen it's ready - so hopefully no down-time waiting for configuration. Med venlig hilsen / Best regards Peter Kirk E-mail: mailto:p...@alpha-solutions.dk -Original Message- From: Ravi Gidwani [mailto:ravi.gidw...@gmail.com] Sent: 11. januar 2010 22:43 To: solr-user@lucene.apache.org; noble.p.

  1   2   >