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,
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
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
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/
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://lucene.472066.n3.nabble.com/different-keepword-files-for-differents-field-values
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 write your own
TokenFilter class.
Maybe your
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, etcetc) but id categoryid=2 (cars) I'd
like
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 field values except
it makes indexing/querying process slightly complicated.
2014-12-22 10:58 GMT+09:00 Tomoko Uchida tomoko.uchida.1...@gmail.com:
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
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 billnb...@gmail.com wrote:
OK that makes sense.
If you double quote the synonyms file will that help for white space?
Bill
On
a normalised term list using a keepword file of jam , savoury
spreads in it
which should place jam savoury spreads into the index field facet.
However i don't get savoury spreads in the index. from the analysis.jsp
everything goes to plan upto the last step where the keepword file does
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 lee.a.carr...@googlemail.com wrote:
Hi List
I'm trying to achieve the following
text
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 lee.a.carr...@googlemail.com wrote:
Just to add things are going not as expected before the keepword, the
synonym list is not be expanded
: 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
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 hossman_luc...@fucit.org wrote:
: You need to switch the order. Do synonyms and expansion first, then
: shingles..
except then he would be building shingles out
15 matches
Mail list logo