Re: How to use DocValues with TextField

2016-02-18 Thread Harry Yoo
Thanks for the pointer. Please advise me how I can contribute. H > On Jan 27, 2016, at 2:16 AM, Toke Eskildsen wrote: > > Erick Erickson wrote: >> DocValues was designed to support unanalyzed types >> originally. I don't know that code, but given my respect >> for the people who wrote I'd be

Re: How to use DocValues with TextField

2016-02-18 Thread Harry Yoo
RE: separating a column into two for different behavior. Yes, that is exactly I was advised multiple time. However, it will make a problem when I apply it to my application. I have a one core that contains more than 50 columns (out of 100) want to be searched by case-insensitive and partial matc

Re: How to use DocValues with TextField

2016-02-09 Thread Alok Bhandari
Hello Harry , sorry for delayed reply , I have taken other approach by giving user a different usability as I did not have solution for this. But your option looks great , I will try this out. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-DocValues-with-TextFie

Re: How to use DocValues with TextField

2016-01-27 Thread Toke Eskildsen
Erick Erickson wrote: > DocValues was designed to support unanalyzed types > originally. I don't know that code, but given my respect > for the people who wrote I'd be amazed if there weren't > very good reasons this is true. I suspect your work-around > is going to be "surprising". Hoss talked a

Re: How to use DocValues with TextField

2016-01-26 Thread Erick Erickson
DocValues was designed to support unanalyzed types originally. I don't know that code, but given my respect for the people who wrote I'd be amazed if there weren't very good reasons this is true. I suspect your work-around is going to be "surprising". And have you tested your change at scale? I su

Re: How to use DocValues with TextField

2016-01-26 Thread Harry Yoo
Hi, I actually needed this functionality for a long time and I made up an extended data type to work around. In my use case, I need a case-insensitive search for a relatively short string and at the same time, I need faceting on the original string. For example, “Human, Home sapiens’ is an ori

RE: How to use DocValues with TextField

2016-01-05 Thread Alok Bhandari
Thanks Markus. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-DocValues-with-TextField-tp4248647p4248797.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to use DocValues with TextField

2016-01-05 Thread Alok Bhandari
Thanks Erick. Yes I was not clear in questioning but I want it to be searchable on TextField. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-DocValues-with-TextField-tp4248647p4248796.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to use DocValues with TextField

2016-01-05 Thread Erick Erickson
Assuming (and it wasn't clear from your problem statement) that you need to search tokens in your field, this approach should be fine. I think Markus' comment was assuming that you did _not_ need to search the field. If you do, a copyField seems best. Do be aware, though, that this will make for a

RE: How to use DocValues with TextField

2016-01-05 Thread Markus Jelsma
Hello - indeed, this is not going to work. But since you are using the token filter as some preprocessor, you could easily use an update request processor to do the preprocessing work for you. Check out the documentation, i think you can use the RegexReplaceProcessor. https://cwiki.apache.org/c