Hi List!

Another question regarding the standard analyzer:

If I search for "adidas - dream big" which is the exact title of a indexed
item, it does not show up in the hits. It does if I remove the "-". Should
it not trigger on the other words it the analyzer removes the "-" ?

Thanks

//rob

ROBERT POHL
Senior Application Developer • Fi Stockholm
 
T: +46 8 402 17 40
[EMAIL PROTECTED] /  www.f-i.com
 
This communication is confidential and is only intended for
the use of the individual or entity to which it is directed.
It may contain information that is privileged and exempt from
disclosure under applicable law. If you are not the Intended
recipient, please notify us immediately. You should not copy
it or disclose its content to any other person.


-----Original Message-----
From: Sudhanya Chatterjee [mailto:[EMAIL PROTECTED] 
Sent: den 30 maj 2008 10:28
To: lucene-net-user@incubator.apache.org
Subject: Query with wildcard characters

Hi,

How to create queries of the following type using query parser (for
tokenized as well as untokenized fields) - 

 

Sudhanya Chat*

 

In the result I want all fields which start with "Sudhanya Chat".

But if I create a query - Query qry = queryParse.Parse("productName:
Sudhanya Chat*");

I get fields which are just starting with "Chat".

I have tried both - keyword and standard Analyzer.

How do I achieve the above mentioned kind of behaviour?

 

Thanks,

Sudhanya

 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy, print, distribute
or use this message. If you have received this communication in error,
please notify the sender and delete all copies of this message. Persistent
Systems Ltd. does not accept any liability for virus infected mails.

No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 269.24.4/1473 - Release Date: 5/29/2008
7:53 PM

Reply via email to