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
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
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
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
No not using SolrCloud.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
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"
>
Erick,
I'm invoking the synonym at query time.
Here is my fieldType definition.
--
Sent from:
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
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
de dezembro de 2016 16:01
To: solr-user <solr-user@lucene.apache.org>
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 <daniel.mo...@novabase.
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
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
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
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
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
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
Thanks Erick!
On Mon, Jun 1, 2015 at 11:29 AM, Erick Erickson erickerick...@gmail.com
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 j...@curvolabs.com wrote:
after further
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 j...@curvolabs.com wrote:
after further investigation it looks like the synonym i was testing against
was only associated with one of
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
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 difer...@redhat.com wrote:
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 know where 20
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
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
Could you send screenshot of admin Analysis page when trying to analyze
that words?
2013/10/9 Alvaro Cabrerizo topor...@gmail.com
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,
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 furkankam...@gmail.comwrote:
Could you send screenshot of admin Analysis page when trying to analyze
that
Does two has a synonym of in and one?
2013/10/9 Furkan KAMACI furkankam...@gmail.com
Does two has a synonym of in and one?
2013/10/9 Alvaro Cabrerizo topor...@gmail.com
Sure,
Find attached the screenshots with almost all the analysis, (dont worry
about the lowercase and the porter
No, it has no synonyms.
On Wed, Oct 9, 2013 at 10:48 AM, Furkan KAMACI furkankam...@gmail.comwrote:
Does two has a synonym of in and one?
2013/10/9 Furkan KAMACI furkankam...@gmail.com
Does two has a synonym of in and one?
2013/10/9 Alvaro Cabrerizo topor...@gmail.com
Sure,
Find
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 topor...@gmail.comwrote:
No, it has no synonyms.
On Wed, Oct 9, 2013 at 10:48 AM, Furkan KAMACI furkankam...@gmail.comwrote:
Does two has
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 m.schm...@mediaskill.de
thanx for your help. could solve the problem meanwhile!
i used
analyzer type=query_en
...which is wrong, it must be
analyzer type=query
--
View this message in context:
http://lucene.472066.n3.nabble.com/synonyms-not-working-tp4089318p4089345.html
Sent from the Solr - User mailing list
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
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 synonym
Hi Plamen
You should set expand to true during
analyzer type=index
filter class=solr.SynonymFilterFactory synonyms=index_synonyms.txt
ignoreCase=true expand=true/
...
Greetings,
Thomas
Am 29.03.2013 17:16, schrieb Plamen Mihaylov:
Hey guys,
I have the following
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:
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:
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:
fieldType name=text class=solr.TextField
positionIncrementGap=100
analyzer type=index
tokenizer
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,
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:
fieldType name=text class=solr.TextField
positionIncrementGap=100
analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory
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
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:
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
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 ...
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
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
@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!
Thanks
On Tue, Jul 3, 2012
characters. 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,
Does anybody know why hyphen
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, Jul 4, 2012 at 12:26 PM, Jack
@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 PM, Jack Krupansky j...@basetechnology.com*
*wrote:
Terms with embedded special characters are treated
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
, 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 exactly
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 am also using synonyms at query side, but so far i am able to use only
single
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,
: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
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.
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
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.
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
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:
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
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 royrutten1...@gmail.com wrote:
From: roySolr royrutten1...@gmail.com
Subject: Synonyms
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.org
Subject: Re: Synonyms Not Working when using SRC
you really need to do is:
allergy test = allergy test, Doctors, Doctors-Medical, PHYSICIANS, Physicians
Surgeons
to solve your problem.
JRJ
-Original Message-
From: balaji [mailto:mcabal...@gmail.com]
Sent: Tuesday, September 06, 2011 7:48 PM
To: solr-user@lucene.apache.org
Subject: Re
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,
Doctors-Medical,
: *allergy test = Doctors, Doctors-Medical, PHYSICIANS, Physicians
: Surgeons
..
: analyzer type=index
...
: filter class=solr.SynonymFilterFactory synonyms=synonyms.txt
: ignoreCase=true expand=true/
...
: But when I do a search for allergy , I get 0 results
You've
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
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
The Terms
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
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 G).
You're right, expanding at index time leads to a somewhat
larger index, but less complex queries. And
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 denizdurmu...@gmail.com wrote:
well i have changed it into text... but still confused about how to use
synonyms...
and also I want to know
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:
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
On Thu, Jun 2, 2011 at 11:58 AM, deniz denizdurmu...@gmail.com 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
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 g...@mimirtech.com wrote:
On Thu, Jun 2, 2011 at 11:58 AM, deniz denizdurmu...@gmail.com wrote:
Hi all,
here is a piece from my solfconfig:
[...]
but
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 lee.a.carr...@googlemail.com wrote:
Deniz,
it looks like you are missing an index anlayzer ? or have you removed
that for brevity ?
lee c
On 2 June 2011
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:
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
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 ska...@yahoo.com wrote:
To: solr-user@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
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.
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 back slash.
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
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
Stefan
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.
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
: 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
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
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
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
take a look at the DismaxRequestHandler:
http://wiki.apache.org/solr/DisMaxRequestHandler
-Original Message-
From: surajit surajit.em...@gmail.com
To: solr-user@lucene.apache.org
Sent: Thu, May 13, 2010 9:52 pm
Subject: Re: synonyms not working with copyfield
Thanks much
: 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.
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.nabble.com/synonyms-not-working-with-copyfield-tp814108p815426
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.nabble.com/synonyms-not-working-with-copyfield
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:
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?
You could try to take the code for SynonymFilterFactory as a starting point,
and adapt it to obtain the synonym configuration from another source than a
text file.
But I'm not sure what you mean by checking for synonyms at query time. As I
understand it, Solr works like that anyway - depending
Thanks all for your replies.
I guess what I meant by Query time, and as I understand solr (and I may be
wrong here) I can add synonyms.txt in the query analyser as follows:
analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/
filter
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...@gmail.com
Subject: Re: Synonyms from Database
Thanks all for your
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 think
On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher erik.hatc...@gmail.comwrote:
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
On Jan 11, 2010, at 5:50 AM, Shalin Shekhar Mangar wrote:
On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher
erik.hatc...@gmail.comwrote:
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
1 - 100 of 146 matches
Mail list logo