You said "it has been copied from the keyword_document [field]", but the
reality is that Solr is not copying from the indexed value of the field, but
from the source value for the field. The idea is that multiple fields can be
based on the same source value even if they analyze and index the value in
different ways.
-- Jack Krupansky
-----Original Message-----
From: Spadez
Sent: Monday, September 17, 2012 12:29 PM
To: solr-user@lucene.apache.org
Subject: Re: Taking a full text, then truncate and duplicate with stopwords
I'm really confused here. I have a document which is say 4000 words long. I
want to get this put into two fields in Solr without having to save the
original document in its entirety within Solr.
When I import my fulltext (4000 word) document to Solr I was going to put it
straight into keyword_document which uses stopwords to remove words like
"and" "it" "this". Now I only have 3000 words for example.
Then if I do copy command to move it into truncate_document then even though
I can reduce it down to say 100 words, it is lacking words like "and" "it"
and "this" because it has been copied from the keyword_document.
I want the following scenario:
truncate_document to have 100 words including words like "and" "it" and
"this"
keyword_docment to have only stop words removed
And finally only have the fulltext document, full length and all stop words,
exist in my SQL database.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Taking-a-full-text-then-truncate-and-duplicate-with-stopwords-tp4008269p4008380.html
Sent from the Solr - User mailing list archive at Nabble.com.