You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by vempap <ph...@emc.com> on 2013/04/05 22:51:02 UTC
WeightedSpanTermsExtractor
Hi,
I've multiple fields (name, name2 - content copied below). And if I
extract the weighted span terms out based on a query (the query is with a
specific field) why am I not getting the positions properly out of the
WeightedSpanTerm covering multiple fields ?
Is it because the query is specific to a field & not to others ?
query: "Running Apple" (phrase query)
document content:
name: Running Apple 60 GB iPod with Video Playback Black - Apple
name2: Sample Running Apple 60 GB iPod with Video Playback Black - Apple
I'm getting the positions as : 0,1 & 3,4 which I don't understand as it
should be 0,1 & 1,2 for the fields name & name2 respectively.
Am I doing something wrong expecting that behavior.
Help or pointers would be appreciated.
Thanks.
--
View this message in context: http://lucene.472066.n3.nabble.com/WeightedSpanTermsExtractor-tp4054149.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org