Re: search through all fields

2007-07-14 Thread Grant Ingersoll
I think he means index all your different fields into a single field named "all". Not sure what makes it special, it is just like any other field. -Grant On Jul 14, 2007, at 7:59 AM, Mohammad Norouzi wrote: I've just tried "all" as a special field but it doesnt work!!! please take a loo

index U.K. U.S. U.N. U.V.

2007-07-14 Thread crspan
Would you please advice the best practice of indexing: U.S. The standard analyzer will transform it to be "us", which collide with "us"(we). Thanks, Charlie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: search through all fields

2007-07-14 Thread Mohammad Norouzi
I've just tried "all" as a special field but it doesnt work!!! please take a look at my snippet code if I was mistaken QueryParser parser = new QueryParser("All",getAnalyzer(1)); Query q = parser.parse(myQuery.getQueryString()); thanks again On 7/14/07, Mohammad Norouzi <[EMAIL PROT

Re: search through all fields

2007-07-14 Thread Mohammad Norouzi
Thanks Mathieu you mean use a query like "all:test" using QueryParser? On 7/14/07, Mathieu Lecarme <[EMAIL PROTECTED]> wrote: you can use the "all" special field, but you loose the differents boost values. M. Le 14 juil. 07 à 10:50, Mohammad Norouzi a écrit : > Hello all > is there any way t

Re: search through all fields

2007-07-14 Thread Mathieu Lecarme
you can use the "all" special field, but you loose the differents boost values. M. Le 14 juil. 07 à 10:50, Mohammad Norouzi a écrit : Hello all is there any way to search through all the fields without using MultiFieldQueryParser? currently I am using this parser but it requires to pass all

search through all fields

2007-07-14 Thread Mohammad Norouzi
Hello all is there any way to search through all the fields without using MultiFieldQueryParser? currently I am using this parser but it requires to pass all fields as an array to its parse method and QueryParser will search through the default field if no field name is specified lots of thanks