From: cel t. <cel...@gm...> - 2015-03-31 21:38:21
|
Norbert, I guess you need to check the analyzer you're using to create your indexes, as well as the analyzer you use for searches. You probably need to use an analyzer (both for indexing and searching) that uses LowCaseFilter. Off the top of my head ... check if StandardAnalyzer (both for indexing and searching) does what you want. To get a better explanation, google for: lucene case insensitive search >From what you'll find for Java Lucene -- you'll get an idea of the way to go. To inspect the contents of your index, you can use Luke (google for: luke lucene) -- you'll see straight away if your index has case-sensitive terms. Regards Celto On Wed, Mar 25, 2015 at 11:51 PM, norbert barichard < nor...@di...> wrote: > Hello, > > Is there a way to tell CLucene to be Case Insensitive when performing a > search ? It's a bit annoying that when I do a search, I don't get any > results if I don't get all the upper case letters right. > > Thanks in advance ! > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |