Re: KeepWord

2016-02-02 Thread John Blythe
nice tip. i appreciate it! -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Mon, Feb 1, 2016 at 4:55 PM, Erik Hatcher wrote: > And if you want to have the “kept” words stored, consider the trick used >

Re: KeepWord

2016-02-01 Thread Erik Hatcher
And if you want to have the “kept” words stored, consider the trick used in example/files for url/e-mail extraction mentioned here (note the related fix in the patch in the JIRA issue mentioned): https://lucidworks.com/blog/2016/01/27/example_files/

Re: KeepWord

2016-02-01 Thread John Blythe
i immediately realized after sending that i'd had stored="true" in the field's config and that it was storing the original data, not the processed data. silly me, thanks anyway! -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Ev

KeepWord

2016-02-01 Thread John Blythe
hi all, i'm having trouble with what would seem to be a pretty straightforward filter. i'm trying to 'tag' documents based off of a list of relevant words that a description field may contain. if the data contains any of the words then this field is populated with it and acts as a quick reference

Re: set keepword file to be used based on a field value

2014-12-22 Thread Tomoko Uchida
Hi Leo, Yes, my image is similar to yours. > If the value ends with "_CAT1" ==> use > as keepword file "keepwords1.txt" and so on? But my second option is not about configurations, but "customizing" Solr. Utilizing customizability of Lucene/Solr, you can

Re: set keepword file to be used based on a field value

2014-12-22 Thread leostro
h keepwords? If the value ends with "_CAT1" ==> use as keepword file "keepwords1.txt" and so on? I can't understand how to reach this goal, have you seen some configuration examples? I didn't find anything :( Thanks Leo -- View this message in context: http:

Re: set keepword file to be used based on a field value

2014-12-21 Thread Tomoko Uchida
ld value. but of course it makes indexing/querying process slightly complicated. 2014-12-22 10:58 GMT+09:00 Tomoko Uchida : > Hi, > > I cannot fully understand your point, but > you would like to apply KeepwordFilter to "title" field and switch > keepword files based on "

Re: set keepword file to be used based on a field value

2014-12-21 Thread Tomoko Uchida
Hi, I cannot fully understand your point, but you would like to apply KeepwordFilter to "title" field and switch keepword files based on "categoryId" field value ? I think that is essntially difficult because an Analyzer (including Filters) cannot take into account another

set keepword file to be used based on a field value

2014-12-21 Thread leostro
ontaining words like "nintendo", "playstation" and so on. Now I want to intruct solr to use a different keepword file depending on the categoryid value specified. So, for docs with categoryid=1 (videogame) I'd like to use keepwrods1.txt (the one with nintendo, playstation

Re: keepword file with phrases

2011-02-06 Thread lee carroll
Hi Chris, Yes you've identified the problem :-) I've tried using keyword tokeniser but that seems to merge all comma seperated lists of synonyms in one. the pattern tokeniser would seem to be a candidate but can you pass the pattern attribute to the tokeniser attribute in the synontm filter ? e

Re: keepword file with phrases

2011-02-06 Thread lee carroll
Hi Bill, quoting in the synonyms file did not produce the correct expansion :-( Looking at Chris's comments now cheers lee On 5 February 2011 23:38, Bill Bell wrote: > OK that makes sense. > > If you double quote the synonyms file will that help for white space? > > Bill > > > On 2/5/11 4:37

Re: keepword file with phrases

2011-02-05 Thread Bill Bell
OK that makes sense. If you double quote the synonyms file will that help for white space? Bill On 2/5/11 4:37 PM, "Chris Hostetter" wrote: > >: You need to switch the order. Do synonyms and expansion first, then >: shingles.. > >except then he would be building shingles out of all the permut

Re: keepword file with phrases

2011-02-05 Thread Chris Hostetter
: You need to switch the order. Do synonyms and expansion first, then : shingles.. except then he would be building shingles out of all the permutations of "words" in his symonyms -- including the multi-word synonyms. i don't *think* that's what he wants based on his example (but i may be wron

Re: keepword file with phrases

2011-02-05 Thread Bill Bell
You need to switch the order. Do synonyms and expansion first, then shingles.. Have you tried using analysis.jsp ? On 2/5/11 10:31 AM, "lee carroll" wrote: >Just to add things are going not as expected before the keepword, the >synonym list is not be expanded for shingles

Re: keepword file with phrases

2011-02-05 Thread lee carroll
Just to add things are going not as expected before the keepword, the synonym list is not be expanded for shingles I think I don't understand term position On 5 February 2011 16:08, lee carroll wrote: > Hi List > I'm trying to achieve the following > > text in "th

keepword file with phrases

2011-02-05 Thread lee carroll
"and savoury", "savoury", "savoury spreads", "spreads" expand synonyms using a synomym file (preserves -> jam) => "this","this aisle", "aisle", "aisle contain