Parsing text containing forward slash and wildcard

2007-11-01 Thread Vs_Inf
Hi, Using StandardAnalyzer, when we indexed the text "/123xcv", QueryParser.parse() produced "123xcv". During searching using the same Analyzer, parsing a search text of "/123" produced "123" but parsing "/123*" produces "/123*". How can i get a parser output of "123*" when parsing "/123*"? Th

Using not operator in query

2007-10-25 Thread Vs_Inf
Hi, We have a requirement to allow users of our search application to use "NOT" operator on a single term. For example, if the user enters "not customer", they are expecting the search to return everything that is not "customer". How can i achive this given Lucene limitation on NOT operator whic