No other way around to fit this requirement?
On Sat, Jan 15, 2011 at 10:01 AM, Chamnap Chhorn chamnapchh...@gmail.comwrote:
Ahh, thanks guys for helping me!
For Adam solution, it doesn't work for me. Here is my Field, FieldType, and
solr query:
fieldType name=text_keyword
This might work:
Define your field to use WhitespaceTokenizer and LowerCaseFilterFactory
Use a filter query referencing this field.
If you wanted the words to appear in their exact order, you could just
define
the pf field in your dismax.
Best
Erick
On Thu, Jan 13, 2011 at 8:01 PM, Estrada
Ahh, thanks guys for helping me!
For Adam solution, it doesn't work for me. Here is my Field, FieldType, and
solr query:
fieldType name=text_keyword class=solr.TextField
positionIncrementGap=100
analyzer
tokenizer class=solr.KeywordTokenizerFactory /
filter
Hi,
the following seems to work pretty well.
fieldType name=text_ws class=solr.TextField
positionIncrementGap=100
analyzer
tokenizer class=solr.KeywordTokenizerFactory /
filter class=solr.ShingleFilterFactory
maxShingleSize=4 outputUnigrams=true
Thanks for your reply. However, it doesn't work for my case at all. I think
it's the problem with query parser or something else. It forces me to put
double quote to the search query in order to get the results found.
str name=rawquerystringsim 010/str
str name=querystringsim 010/str
str
Ahhh...the fun of open source software ;-). Requires a ton of trial and error!
I found what worked for me and figured it was worth passing it along. If you
don't mind...when you sort everything out on your end, please post results for
the rest of us to take a gander at.
Cheers,
Adam
On Jan
Hi all,
I'm just stuck with exact keyword for several days. Hope you guys could help
me. Here is the scenario:
1. It need to be matched with multi-word keyword and case insensitive
2. Partial word or single word matching with this field is not allowed
I want to know the field type