Ticket #671 (new Improvement)

Opened 3 years ago

Searching on hyphenated terms with wildcards in full text search

Reported by: paul@… Owned by: somebody
Priority: Minor Milestone:
Component: Repository - querying and indexing Version: 2.2
Keywords: Cc:

Description

[jira2trac import : issue created on October 1, 2008 1:24:19 PM CEST http://issues.cocoondev.org/browse/DSY-671 ]

Looking for content containing a hyphen using wildcards does not produce the wanted results.

Steps to reproduce

  1. create a document with the content 'co-operation'
     2. search for the term 'co-operation' (using the lucene search)
       -> the document will be found
     3. search for the term 'co-oper*'
       -> the document will not be found

We expect the document with the term 'co-operation' to be found using the search string 'co-oper*'

Possible causes
 - lucene problem
 - use of lucene analysers

Note: See TracTickets for help on using tickets.