Re: Multi-word Synonyms not working properly with Edismax

2020-09-08 Thread Manish Bafna
Yes, we tried that and it worked. We removed only for query analyzer and it is working properly now. On Wed, Sep 9, 2020 at 2:24 AM Dominique Bejean wrote: > Hi, > > Can you try to remove the RemoveDuplicatesTokenFilter ? > > Dominique > > Le mar. 8 sept. 2020 à 13:52, Manish Bafna a > écrit

Re: Multi-word Synonyms not working properly with Edismax

2020-09-08 Thread Dominique Bejean
Hi, Can you try to remove the RemoveDuplicatesTokenFilter ? Dominique Le mar. 8 sept. 2020 à 13:52, Manish Bafna a écrit : > Hi, > > We are using the following configuration: > > > > -- > > *Schema: * > > > positionIncrementGap="100"

Multi-word Synonyms not working properly with Edismax

2020-09-08 Thread Manish Bafna
Hi, We are using the following configuration: -- *Schema: * *Managed Synonyms:* "abc implement", "bike", "xyz traders", "xyz

Re: Re: Solr edismax parser with multi-word synonyms

2019-07-18 Thread Sunil Srinivasan
, 2019 04:42 AM Subject: Re: Solr edismax parser with multi-word synonyms This is not a phrase query, rather it’s requiring either pair of words to appear in the title. You’ve told it that “frozen dinner” and “microwave foods” are synonyms. So it’s looking for both the words “microwave” and “foods

Re: Solr edismax parser with multi-word synonyms

2019-07-18 Thread Erick Erickson
; > Another option is to write your own custom query parser and use it as a > plugin. > > Hope this helps!! > > kshitij > > > On Thu, Jul 18, 2019 at 9:14 AM Sunil Srinivasan wrote: > >> >> I have enabled the SynonymGraphFilter

Re: Solr edismax parser with multi-word synonyms

2019-07-18 Thread kshitij tyagi
tle:miccrowave title:food (+title:frozen +title:dinner)))" Another option is to write your own custom query parser and use it as a plugin. Hope this helps!! kshitij On Thu, Jul 18, 2019 at 9:14 AM Sunil Srinivasan wrote: > > I have enabled the SynonymGraphFilter in my field configurat

Solr edismax parser with multi-word synonyms

2019-07-17 Thread Sunil Srinivasan
I have enabled the SynonymGraphFilter in my field configuration in order to support multi-word synonyms (I am using Solr 7.6). Here is my field configuration: And this is my synonyms.txt file: frozen dinner,microwave food Scenario 1: blue shirt

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-16 Thread Roy Lim
Thanks Andrea for the tip. I wasn't aware of the autoGeneratePhraseQueries option for text fields, will definitely keep it in mind. But I question if this is related to the fix on the query parser which essentially introduces sow parameter and if false (looks like that is the default in Solr 7),

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-16 Thread Andrea Gazzarini
Hi Roy, I think you miss the autoGeneratePhraseQueries=true in the field type definition. I was on a slightly different use case when I met your same issue (I was using synonyms expansion at query time) and honestly I didn't understand why this is not the default and implicit behavior. In other

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I am not using edismax (eventually I would like to get there) but I'm just testing with standard query right now. Original posting: I'm trying to figure out why the multi-word synonym expansion is not working correctly (or, at least what I'm misunderstanding). Specifically, when I test a

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Doug Turnbull
Also share your fieldType settings for myfield as well from your schema On Wed, Aug 15, 2018 at 8:00 PM Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Aside from the screenshot issue, one thing to check: are you searching > with defType=edismax ? > > As in >

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Doug Turnbull
Aside from the screenshot issue, one thing to check: are you searching with defType=edismax ? As in q=lcd=myfield=false=edismax ? Also sow=false should the the default on Solr 7 and above Doug On Wed, Aug 15, 2018 at 6:27 PM Roy Lim wrote: > I'm trying to figure out why the multi-word

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Steve Rowe
Yes please. That way we’ll see the whole thing. -- Steve www.lucidworks.com > On Aug 15, 2018, at 7:20 PM, Roy Lim wrote: > > I've subscribed, shall I re-post it then via email? > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I've subscribed, shall I re-post it then via email? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Steve Rowe
Roy, Not sure of the point of Nabble when it strips content before passing messages on to the mailing list. I’ve emailed them about this problem in the past but they have done nothing about it. Updating a post on Nabble will never make it to the mailing list. If you want us to be able to

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
Thanks, updated original post. It just removed what I surrounded with the raw text markup, I've added it back without markup. Not sure of the point of raw text if it's always removed -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Erick Erickson
The mail server strips pretty much all screenshots and attachments, so I think some of the data you're trying to provide is missing from the e-mail. Best, Erick On Wed, Aug 15, 2018 at 3:27 PM, Roy Lim wrote: > I'm trying to figure out why the multi-word synonym expansion is not working >

Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I'm trying to figure out why the multi-word synonym expansion is not working correctly. Specifically, when I test a standard query with Solr Admin it is still splitting on whitespace. Here is my setup: - Solr 7.2.1 - synonym LCD => liquid crystal display - q=myfield:LCD - added: sow=false -

Re: Multi word synonyms

2017-03-27 Thread Doug Turnbull
w.sease.io > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Multi-word-synonyms-tp4326863p4326998.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Multi word synonyms

2017-03-27 Thread alessandro.benedetti
Cheers - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/Multi-word-synonyms-tp4326863p4326998.html Sent from the Solr - User mailing list archive

Re: Multi word synonyms

2017-03-26 Thread Doug Turnbull
t; > > > > > On Sun, Mar 26, 2017 at 11:53 AM Sanjana Sridhar < > > > sanjana.srid...@wishabi.com> wrote: > > > > > > > Hello, > > > > > > > > Does anyone have a good solution for working with multi word > synonyms? > &

Re: Multi word synonyms

2017-03-26 Thread John Blythe
> > > On Sun, Mar 26, 2017 at 11:53 AM Sanjana Sridhar < > > sanjana.srid...@wishabi.com> wrote: > > > > > Hello, > > > > > > Does anyone have a good solution for working with multi word synonyms? > > I've > > > been reading a lot about t

Re: Multi word synonyms

2017-03-26 Thread Sanjana Sridhar
delimiter filter factory before > further processing > > > On Sun, Mar 26, 2017 at 11:53 AM Sanjana Sridhar < > sanjana.srid...@wishabi.com> wrote: > > > Hello, > > > > Does anyone have a good solution for working with multi word synonyms? > I've > >

Re: Multi word synonyms

2017-03-26 Thread John Blythe
with spaces or just toss over to the word delimiter filter factory before further processing On Sun, Mar 26, 2017 at 11:53 AM Sanjana Sridhar < sanjana.srid...@wishabi.com> wrote: > Hello, > > Does anyone have a good solution for working with multi word synonyms? I've >

Multi word synonyms

2017-03-26 Thread Sanjana Sridhar
Hello, Does anyone have a good solution for working with multi word synonyms? I've been reading a lot about this online and haven't really found a great solution to it. I use the SynonymFilterFactory at index time, but words don't really get matched to the appropriate multi word synonyms, even

Re: Solr 6.4 new SynonymGraphFilter help for multi-word synonyms

2017-02-03 Thread David Smiley
Solr _does_ have a query parser that doesn't suffer from this problem -- SimpleQParser chosen as the string "simple". https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-SimpleQueryParser In this case, see the "WHITESPACE" operator feature which can be toggled. Configure to

Re: Solr 6.4 new SynonymGraphFilter help for multi-word synonyms

2017-02-02 Thread Cliff Dickinson
Steve and Shawn, thanks for your replies/explanations! I eagerly await the completion of the Solr JIRA ticket referenced above in a future release. Many thanks for addressing this challenge that has had me banging my head against my desk off and on for the last couple years! Cliff On Thu, Feb

Re: Solr 6.4 new SynonymGraphFilter help for multi-word synonyms

2017-02-02 Thread Steve Rowe
Hi Cliff, The Solr query parsers (standard/“Lucene” and e/dismax anyway) have a problem that prevents SynonymGraphFilter from working: the text fed to your query analyzer is first split on whitespace. So e.g. a query containing “United States” will never match multi-word synonym “United

Re: Solr 6.4 new SynonymGraphFilter help for multi-word synonyms

2017-02-02 Thread Shawn Heisey
On 2/2/2017 7:36 AM, Cliff Dickinson wrote: > The SynonymGraphFilter API documentation contains the following statement > at the end: > > "To get fully correct positional queries when your synonym replacements are > multiple tokens, you should instead apply synonyms using this TokenFilter > at

Solr 6.4 new SynonymGraphFilter help for multi-word synonyms

2017-02-02 Thread Cliff Dickinson
I've been eagerly awaiting the release of the new SynonymGraphFilter in Solr 6.4. We have the need to support multi-word synonyms, which were always problematic with the old SynonymFilterFactory. I've upgraded to Solr 6.4 and replaced the old filter with the new one, but am not seeing

RE: Multi word synonyms

2016-11-15 Thread Davis, Daniel (NIH/NLM) [C]
d the rate of indexing you need to maintain. Depending on your experience, you can do this even if you are new to Solr, as you've mentioned. -Original Message- From: Davis, Daniel (NIH/NLM) [C] Sent: Tuesday, November 15, 2016 10:22 AM To: solr-user@lucene.apache.org Subject: RE: Multi word syn

RE: Multi word synonyms

2016-11-15 Thread Davis, Daniel (NIH/NLM) [C]
: Multi word synonyms I am new with solr . How i should solve this problem ? Can we do something at query time ? On Tue, Nov 15, 2016 at 5:35 PM, Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Hi Michael, > > an update, reading the article I double checked if at least one of the

Re: Multi word synonyms

2016-11-15 Thread Michael Kuhlmann
gt; It's not working out of the box, sorry. >>>> >>>> We're using this plugin: >>>> https://github.com/healthonnet/hon-lucene-synonyms#getting-started >>>> >>>> It's working nicely, but can lead to OOME when you add many synonyms >>

Re: Multi word synonyms

2016-11-15 Thread Midas A
.com/healthonnet/hon-lucene-synonyms#getting-started > > >> > > >> It's working nicely, but can lead to OOME when you add many synonyms > > >> with multiple terms. And I'm not sure whether it#s still working with > > >> Solr 6.0. > > >> > > >

Re: Multi word synonyms

2016-11-15 Thread Vincenzo D'Amore
t;> > >> It's working nicely, but can lead to OOME when you add many synonyms > >> with multiple terms. And I'm not sure whether it#s still working with > >> Solr 6.0. > >> > >> -Michael > >> > >> Am 15.11.2016 um 10:29 schrieb Midas A: &

Re: Multi word synonyms

2016-11-15 Thread Michael Kuhlmann
hether it#s still working with >> Solr 6.0. >> >> -Michael >> >> Am 15.11.2016 um 10:29 schrieb Midas A: >>> - i have to use multi word synonyms at query time . >>> >>> Please suggest how can i do it . >>> and let me know it whether it would be visible in debug query or not . >>> >> >

Re: Multi word synonyms

2016-11-15 Thread Vincenzo D'Amore
l > > Am 15.11.2016 um 10:29 schrieb Midas A: > > - i have to use multi word synonyms at query time . > > > > Please suggest how can i do it . > > and let me know it whether it would be visible in debug query or not . > > > > -- Vincenzo D'Amore email: v.dam...@gmail.com skype: free.dev mobile: +39 349 8513251

Re: Multi word synonyms

2016-11-15 Thread Michael Kuhlmann
15.11.2016 um 10:29 schrieb Midas A: > - i have to use multi word synonyms at query time . > > Please suggest how can i do it . > and let me know it whether it would be visible in debug query or not . >

Multi word synonyms

2016-11-15 Thread Midas A
- i have to use multi word synonyms at query time . Please suggest how can i do it . and let me know it whether it would be visible in debug query or not .

Re: Solutions for Multi-word Synonyms

2016-06-24 Thread Joe Lawson
o run it within the Solr search engine." On Fri, Jun 10, 2016 at 2:25 AM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > As Doug said, > you should really try to build your own solution for Multi-word Synonyms > because every need is different and you can customize

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-23 Thread Joe Lawson
FYI everyone, I've updated the README.md to be fully up to date for Solr 6.0 and the latest plugin release. https://github.com/healthonnet/hon-lucene-synonyms/blob/master/README.md On Fri, Jun 17, 2016 at 2:34 PM, MaryJo Sminkey wrote: > > OK - Slapping forehead now...

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-17 Thread MaryJo Sminkey
> OK - Slapping forehead now... D'oh! > > 1.2 > Float, not int! > LOL, we've all been there. I'm surprised I didn't notice that myself. MJ

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-17 Thread John Bickerstaff
; >> > > >> > > >> > > Sent with MailTrack >> > > < >> > >> https://mailtrack.io/install?source=signature=en=mjsmin...@gmail.com=22 >> > > >> > > >> > > On Mon, Jun 6, 2016 at 9:39 PM, MaryJo Sminkey &

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-17 Thread MaryJo Sminkey
On Fri, Jun 17, 2016 at 2:15 PM, John Bickerstaff wrote: > If I do NOT add the last line and only have the line that sets > synonyms=true, it appears to work fine. > > I see the dot notation all over the sample entries in solrconfig.xml... Am > I missing something

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-17 Thread John Bickerstaff
; > > > > > On Mon, Jun 6, 2016 at 9:39 PM, MaryJo Sminkey <mjsmin...@gmail.com> > > > wrote: > > > > > >> > > >> On Mon, Jun 6, 2016 at 7:36 PM, Joe Lawson < > > >> jlaw...@opensourceconnections.com> wrote: > > >> > >

Re: Solutions for Multi-word Synonyms

2016-06-10 Thread Bernd Fehling
As Doug said, you should really try to build your own solution for Multi-word Synonyms because every need is different and you can customize it for your special use case, like adding a Thesaurus. http://www.ub.uni-bielefeld.de/~befehl/base/solr/InsideBase_eurovocThesaurus.html Regards Bernd Am

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread MaryJo Sminkey
Thanks, added my vote (which threw an error but looks like it did get added). MJ On Thu, Jun 9, 2016 at 5:41 PM, Upayavira wrote: > Here's a recently created ticket that covers this issue: > > https://issues.apache.org/jira/browse/SOLR-9185 > > Let's hope we see some

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread Upayavira
Here's a recently created ticket that covers this issue: https://issues.apache.org/jira/browse/SOLR-9185 Let's hope we see some traction on it soon, as many people suffer from this issue. Upayavira On Thu, 9 Jun 2016, at 09:10 PM, MaryJo Sminkey wrote: > On Thu, Jun 9, 2016 at 1:50 PM, Joe

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread MaryJo Sminkey
On Thu, Jun 9, 2016 at 1:50 PM, Joe Lawson < jlaw...@opensourceconnections.com> wrote: > The auth-phrasing-token (APT) filter is a two pronged solution that > requires index and query time processes versus hon-lucene-synonyms (HLS) > which is strictly a query time implementation. The primary take

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread Joe Lawson
> > I'm wondering if anyone has experience using the autophrasing solution on > the Lucidworks blog: > > > https://lucidworks.com/blog/2014/07/12/solution-for-multi-term-synonyms-in-lucenesolr-using-the-auto-phrasing-tokenfilter/ > > The auth-phrasing-token (APT) filter is a two pronged solution

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread MaryJo Sminkey
On Thu, Jun 9, 2016 at 11:06 AM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Honestly half the time I run into this problem, I end up creating a > QParserPlugin because I need to do something specific. With a QParserPlugin > I can run whatever analysis, slicing and dicing of the

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread Doug Turnbull
Mary Jo, Honestly half the time I run into this problem, I end up creating a QParserPlugin because I need to do something specific. With a QParserPlugin I can run whatever analysis, slicing and dicing of the query string to manually construct whatever I need to

Re: Solutions for Multi-word Synonyms

2016-06-07 Thread Joe Lawson
I'm sorry I wasn't more specific, I meant we were hijacking the thread with the question, "Anyone used a different method of handling multi-term synonyms that isn't as global?" as the original thread was about getting synonym_edismax running. On Tue, Jun 7, 2016 at 2:24 PM, MaryJo Sminkey

Solutions for Multi-word Synonyms

2016-06-07 Thread MaryJo Sminkey
> MaryJo you might want to start a new thread, I think we kinda hijacked this > one. Also if you are interested in tuning queries check out > http://splainer.io/ and https://www.quepid.com which are interactive tools > (both of which my company makes) to tune for search relevancy. > Okay I

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-07 Thread Joe Lawson
d keyword field boosts so that > would > >>> influence your search as well. > >> > >> > >> > >> Yeah I definitely will have to play with the values a bit as we want the > >> product name matches to always appear highest, whether original or

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-07 Thread MaryJo Sminkey
>> influence your search as well. >> >> >> >> Yeah I definitely will have to play with the values a bit as we want the >> product name matches to always appear highest, whether original or >> synonyms, but I'll have to figure out how to get that result

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-07 Thread MaryJo Sminkey
r > synonyms, but I'll have to figure out how to get that result without one > word terms that have multi word synonyms getting overly boosted for a > phrase match while still sufficiently boosting the normal phrase match > stuff too. With the normal synonym filter I was able to just

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-06 Thread MaryJo Sminkey
Yeah I definitely will have to play with the values a bit as we want the product name matches to always appear highest, whether original or synonyms, but I'll have to figure out how to get that result without one word terms that have multi word synonyms getting overly boosted for a phrase mat

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-06 Thread Joe Lawson
Yeah I thought the scale of the boosts were off as well but got caught up verifying that the plugin was working. My colleague suggested that it could be that because small block is a phrase that it would get a higher score in matching because you basically get a phrase match each time which causes

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-06 Thread MaryJo Sminkey
Oh thanks, yeah I did miss that one field which had a parent type with the normal synonym filter. However, that's our product SKU field so really doesn't even come into play. I verified that none of the other fields have a synonym filter set and even removed the productumbertext just to make sure

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-06 Thread Joe Lawson
> > Advice: make sure on the schema that none of the fields your are running > queries against do any complex query operations, especially make sure they > aren't doing additional synonym resolution against the same file. > BTW. I'd do this first before messing with MM

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-06 Thread Joe Lawson
Mary Jo. It appears to be working correctly but you have a very complex query going on so it can be confusing. Assuming you are using the queryParser as provided in examples your query would look like "+sbc" when it enters the queryParser and would look like "+((sbc)^2.0 (sb)^0.5 (small

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-05 Thread John Bickerstaff
Yes, query parameters/modifications mentioned in the readme. Beyond those I don't have useful advice at this point On Jun 4, 2016 10:56 PM, "MaryJo Sminkey" wrote: > On Sat, Jun 4, 2016 at 11:47 PM, John Bickerstaff < > j...@johnbickerstaff.com> > wrote: > > > MaryJo - I'm

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-04 Thread MaryJo Sminkey
On Sat, Jun 4, 2016 at 11:47 PM, John Bickerstaff wrote: > MaryJo - I'm on vacation but can't resist... iirc there are some very > useful query modifications suggested in the readme on the github for the > plugin... can't access right now. > I'm assuming you mean the

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-04 Thread John Bickerstaff
MaryJo - I'm on vacation but can't resist... iirc there are some very useful query modifications suggested in the readme on the github for the plugin... can't access right now. You may know about them already, but if it's been a while since you looked, those may help... On Jun 3, 2016 12:28 PM,

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-03 Thread MaryJo Sminkey
On some additional tests, it looks like it's the phrase matching in particular that is the issue, if I take that out I do seem to be getting better results. I definitely don't want to get rid of those so need to find a way to make them work together. Sent with MailTrack

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-03 Thread MaryJo Sminkey
Okay so big thanks for the help with getting the hon_lucene_synonyms plugin working. That is a big load off to finally have a solution in place for all our multi-term synonyms. We did find that the information in Step 8 about the plugin showing "SynonymExpandingExtendedDismaxQParser" for QParser

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Yes, I get that, thanks. On Jun 1, 2016 6:38 PM, "Joe Lawson" wrote: > 2.0 is compiled with Solr 5 and Java 7. It uses the namespace > solr.SynonymExpandingExtendedDismaxQParserPlugin > > 5.0.4 is compiled with Solr 6 and Java 8 and is the first release that

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
2.0 is compiled with Solr 5 and Java 7. It uses the namespace solr.SynonymExpandingExtendedDismaxQParserPlugin 5.0.4 is compiled with Solr 6 and Java 8 and is the first release that made it to maven central. It uses the namespace

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Just to be clear, I got version 2.0 of the jar from github... should I be look for something in a maven repository? A bit confused at this point given all the version numbers... I want the latest and greatest unless there's any special considerations.. Thanks for the assistance! On Jun 1, 2016

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
Yup that was the issue for us as well. It doesn't seem to be throwing the class error now, although I have not been able to successfully get back results that seem to be using it, it's showing up as the deftype in my params but the QParser in my debug is the normal edismax one. I will have to play

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
Nothing up until 5.0.4 was distributed on maven central. 5.0 -> 5.0.4 was just a bunch of clean up to get it ready for maven (including the namespace change). Being that nearly all docs and articles talking about the plugin reference the old 2.0 one could reasonably get confused as to what config

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Shawn Heisey
On 6/1/2016 1:10 PM, John Bickerstaff wrote: > @Joe: > > Is it possible that the jar's package name does not match the entry in the > sample solrconfig.xml file? > > The solrconfig.xml example file in the test directory contains the > following package name: >

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
I mean the 5.0 namespace is different from the 2.0 not 3.0. On Jun 1, 2016 5:43 PM, "Joe Lawson" wrote: 2.0 is different from 3.0 so check the test config that is associated with the 2.0 release. Ie

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
2.0 is different from 3.0 so check the test config that is associated with the 2.0 release. Ie https://github.com/healthonnet/hon-lucene-synonyms/blob/8f736da053510911517fcb8a712b1d8ca5c920d2/src/test/resources/solr/collection1/conf/example_solrconfig.xml On Jun 1, 2016 3:10 PM, "John

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
@Joe: Is it possible that the jar's package name does not match the entry in the sample solrconfig.xml file? The solrconfig.xml example file in the test directory contains the following package name: However, the jar file (when unzipped) has the following directory structure down to the same

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
I tried this - it didn't fail. I don't know if it really started in Denable.runtime.lib=true mode or not: service solr start -Denable.runtime.lib=true Of course, I'd still really rather be able to just drop jars into /var/solr/data/lib and have them work... Thanks all. On Wed, Jun 1, 2016 at

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
lt > >> >> > > search > >> >> > > > field in the /autophrase search handler > >> >> > > > > >> >> > > > There isn't any explicit statement of "df=text_autophrase" in > the > >> >>

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Jeff Wartes
ent this, >> >> > they're >> >> > > > going to be disappointed in the results unless they: >> >> > > > a. copy or otherwise get ALL the text they're interested in -- >> into >> >> the >> >> > > > "tex

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
So - the instructions on using the Blob Store API say to use the Denable.runtime.lib=true option when starting Solr. Thing is, I've installed per the "for production" instructions which gives me an entry in /etc/init.d called solr. Two questions. To test this can I still use the start.jar in

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Ahhh - gotcha. Well, not sure why it's not picked up - seems lots of other jars are... Maybe Joe will comment... On Wed, Jun 1, 2016 at 10:22 AM, MaryJo Sminkey wrote: > That refers to running Solr in cloud mode. We aren't there yet. > > MJ > > > > On Wed, Jun 1, 2016 at

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
That refers to running Solr in cloud mode. We aren't there yet. MJ On Wed, Jun 1, 2016 at 12:20 PM, John Bickerstaff wrote: > Hi Mary Jo, > > I'll point you to Joe's earlier comment about needing to use the Blob Store > API... He put a link in his response. > > I'm

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Hi Mary Jo, I'll point you to Joe's earlier comment about needing to use the Blob Store API... He put a link in his response. I'm about to try that today... Given that Joe is a contributor to hon_lucene there's a good chance his experience is correct here - especially given the evidence

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
So we still can't get this to work, here's the latest update my server guy gave me: It seems to not matter where the file is located, it does not load. Yet, the the Solr Java class path shows the file has loaded. Only this path (./server/lib/hon-lucene-synonyms-2.0.0.jar) will work in that it

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Thanks Shawn Yup - I created a /lib inside my $SOLR_HOME directory (which by default was /var/solr/data) I put the hon_lucene. jar file in there and rebooted - same errors about class not found. Tried again in what looked like the next most obvious spot server/solr-webapp/webapp/WEB-INF/lib

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread Shawn Heisey
On 5/31/2016 3:13 PM, John Bickerstaff wrote: > The suggestion on the readme is that I can drop the > hon_lucene_synonyms jar file into the $SOLR_HOME directory, but this > does not seem to be working - I'm getting class not found exceptions. What I typically do with *all* extra jars

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread John Bickerstaff
t;> >> > > > >> one token at a time, so in a synonym filter, multi-word >> synonyms >> >> can >> >> > > > never >> >> > > > >> match and add alternatives. See < >> >> > > > >> https://issues.a

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread John Bickerstaff
> > > b. somehow explicitly declare "text_autophrase" as the default > search > >> > > field > >> > > > - either in the searchHandler or wherever else the default field > is > >> > > > configured. > >> > > > > >> > > >

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread Jeff Wartes
don't >> > > know I >> > > > don't know that bothers me... >> > > > >> > > > On Fri, May 27, 2016 at 11:57 AM, John Bickerstaff < >> > > > j...@johnbickerstaff.com >> > > > > wrote: >> > > > >

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread John Bickerstaff
> > > > b. somehow explicitly declare "text_autophrase" as the default > > search > > > > > field > > > > > > - either in the searchHandler or wherever else the default field > is > > > > > > configured. &g

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread Joe Lawson
cess is correct and / or if I'm missing > > > something? > > > > > Yes - I get that I can set it all up and try - but it's what I > don't > > > > know I > > > > > don't know that bothers me... > > > > > > > > > > On Fri, May 2

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-31 Thread John Bickerstaff
ohnbickerstaff.com > > > > > wrote: > > > > > > > > > Thank you Steve -- very helpful. > > > > > > > > > > I can see that whatever implementation I decide to try, some > testing > > > will > > > > > be in o

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-30 Thread MaryJo Sminkey
comment. > > > > > > > > On Fri, May 27, 2016 at 10:28 AM, Steve Rowe <sar...@gmail.com> > wrote: > > > > > > > >> I’m working on addressing problems using multi-term synonyms at > query > > > >> time in Lucene and

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-30 Thread John Bickerstaff
; I recommend these two blogs for understanding the issues (the second > one > > >> was mentioned earlier in this thread): > > >> > > >> < > > >> > > > http://blog.mikemccandless.com/2012/04/lucenes-tokenstreams-are-actually.html > >

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-30 Thread MaryJo Sminkey
t; > >> <https://nolanlawson.com/2012/10/31/better-synonym-handling-in-solr/> > >> > >> In addition to the already-mentioned projects, there is also: > >> > >> <https://issues.apache.org/jira/browse/SOLR-5379> > >> > &g

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-30 Thread John Bickerstaff
ady-mentioned projects, there is also: >> >> <https://issues.apache.org/jira/browse/SOLR-5379> >> >> All of these projects try in various ways to work around the fact that >> Lucene’s QueryParser splits on whitespace before sending text to analysis, >> one token a

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-27 Thread John Bickerstaff
OLR-5379> > > All of these projects try in various ways to work around the fact that > Lucene’s QueryParser splits on whitespace before sending text to analysis, > one token at a time, so in a synonym filter, multi-word synonyms can never > match and add alternatives. See &l

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-27 Thread Steve Rowe
whitespace before sending text to analysis, one token at a time, so in a synonym filter, multi-word synonyms can never match and add alternatives. See <https://issues.apache.org/jira/browse/LUCENE-2605>, where I’ve posted a patch to directly address that problem - note that it’s still a

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-26 Thread John Bickerstaff
; > -Chris. > > > > > > From: "John Bickerstaff" <j...@johnbickerstaff.com> > Sent: Thursday, May 26, 2016 1:51 PM > To: solr-user@lucene.apache.org > Subject: Re: Solr Cloud and Multi-word Synonyms :: synonym_edism

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-05-26 Thread Chris Morley
. From: "John Bickerstaff" <j...@johnbickerstaff.com> Sent: Thursday, May 26, 2016 1:51 PM To: solr-user@lucene.apache.org Subject: Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser Hey Jeff (or anyone interested in multi-wor

  1   2   >