I'm guessing because your examples are not clear to me,
but assuming what you're really saying is that these are
all in the same doc and, for some reason you are unable to
just concatenate them all together before you send them
to Solr, you can use a multiValued field with positionIncrementgap
set
I think something like that:
First Position Second Position Third Position
Fourth Position Fift Position
- --
---
Hello My
Hi Tomas,
What do you mean by "get data into fields"? Do you mean indexing?
Following solr search URL will return all possible 9 documents.
q=someField:"(hello hi cheerio) my name is (Tomas John
Paul)"&defType=complexphrase
for example,
doc1 = hello my name is Tomas
doc2 = hi my name is Paul
Its ok, when i use the example by synonym filter, so it wokrs, but i don“t
know how i have transfer this text to the schema.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Alternative-searching-tp4172339p4172356.html
Sent from the Solr - User mailing list archive at Nabble.
Ok and how do you think how i get data into to fields? And how it recognize
so how it is one term?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Alternative-searching-tp4172339p4172349.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Tomas,
I dont fully follow but, with ComplexPhraseQueryParser, you can use parenthesis
inside phrases.
q="(hello hi cheerio) my name is (Tomas John Paul)"&defType=complexphrase
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser
Ahmet
On We
Have you looked at the synonyms token filter that is shipped in the
default example? Might be the first step.
Regards,
Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.li