Well, it's the one I'd use. Whether it's the best or not is...er...not so
certain .
Erick
On Tue, May 6, 2008 at 12:37 PM, Kelvin Foo Chuan Lyi <[EMAIL PROTECTED]>
wrote:
> Thanks... that's what I thought of ... but was wondering if that was the
> best method to do so... i guess it is then... :)
Thanks... that's what I thought of ... but was wondering if that was the
best method to do so... i guess it is then... :)
On Wed, May 7, 2008 at 12:32 AM, Erick Erickson <[EMAIL PROTECTED]>
wrote:
> One of my favorite quotes from Roger Zelazny... "postulating
> infinity, the rest is easy".
>
>
One of my favorite quotes from Roger Zelazny... "postulating
infinity, the rest is easy".
In this case, "infinity" is how you break up your query. The easy part is
making your search return what you want.
Assuming you know that you want "greatest" and
"hits" to go against the title field and "bea
I'm new to lucene and have a question on how to create a query for the
following example... Say I have two fields, Title and Description, with the
following data
Item 1
Title: The greatest hits
Description : Collection of the best music from The Beatles.
Item 2
Title: U2 collections
Description :
t;> Another doubt, I thought forcing bookDate in the Search Text it would
> >> reduce
> >> the universe of search, then leading to quicker responses. But it
> didn't.
> >> Is
> >> there a trick to improve the speed?
> >>
> >> Cesar
&g
thout +)
>>
>> Is the reduced performance normal for this case?
>>
>>
>> Another doubt, I thought forcing bookDate in the Search Text it would
>> reduce
>> the universe of search, then leading to quicker responses. But it didn't.
>> Is
>> the
Is
> there a trick to improve the speed?
>
> Cesar
> --
> View this message in context:
> http://www.nabble.com/Lucene-multiple-field-search-performance-tp15448754p15448754.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> --
s
there a trick to improve the speed?
Cesar
--
View this message in context:
http://www.nabble.com/Lucene-multiple-field-search-performance-tp15448754p15448754.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
Thanks for the quick reply.
As I supposed, the answer was right in front of me. To build a query
as the one I wanted I have to use the BooleanQuery class:
Term term1 = new Term("field1", "Policy planning");
Term term2 = new Term("field1", "Newspapers");
Term term3 = new Te
Victor Abeytua wrote:
> Hello everyone,
>In the project I'm currently involved we are using lucene (+
> Digester) to index a small number of XML files. To be able to perform
> the searches I want, I should need to query the index with something
> similar to (where fieldN are XML tags):
> (fiel
Hello everyone,
In the project I'm currently involved we are using lucene (+
Digester) to index a small number of XML files. To be able to perform
the searches I want, I should need to query the index with something
similar to (where fieldN are XML tags):
(field1:"Policy and planning" OR fie
11 matches
Mail list logo