Re: Re: Wildcard in a text field

2013-02-08 Thread Nicolas Roduit
quot;?" in "string" fields, escape them with a backslash. But if you want to escape them in "text" fields, be sure to use an analyzer that preserves them since they generally will be treated as spaces. -- Jack Krupansky -Original Message- From: Nicolas Roduit

Wildcard in a text field

2013-02-07 Thread Nicolas Roduit
I'm looking for a way of making a query on words which contain wildcards (* or ?). In general, we use wildcards in query, not in the text. I haven't find anything in Lucene to build that. - To unsubscribe, e-mail: java-user-uns

Re: Handle expression in the index

2013-02-07 Thread Nicolas Roduit
Thanks for your prompt reply. I've implemented the prospective search and It works correctly now. Nicolas Le 06. 02. 13 10:13, Nicolas Roduit a écrit : hi Nicolas , if i understand correctly what you are describing is that your tag field will contain Lucine queries syntax - one word =

Handle expression in the index

2013-02-06 Thread Nicolas Roduit
I'm starting with Lucene 4 and have built my own analyzer with stemming and synonyms. This works perfectly. I built a Lucene index with several documents (with an ID) containing a text (with TextField) and a list of words or expressions related to the text (a kind of tag). Everything is OK wh