> Try making bother terms mandatory with "+"
>
> "+date:[20040101 TO 20040101] +Paris"
That was it .. however it does not exactly suite my needs. I want to
create a few combo boxes to let the user create a datefilter (From and
To) on the search queries using a webform.
Now if he chooses 20040101
Hi!
I have some trouble to use the inclusive range search explained in
Lucene in Action in ch. 2.5.5
What I do is to add several fields to the index this way:
document.add(Field.Keyword("id", key));
document.add(Field.Keyword("type", type));
document.add(Field.Text("text",text));
document.add(Fi
Is there a way to save an object to the a lucene index?
In my project I noticed that the performance bottleneck is my
database. Lucene gives back a result in no time but to retrieve the
corresponding data sets at the backend in the database can take long
especially if you need to execeute many que
Do you plan to release some kind of a commerical product including an API?
I ask because I'm evaluating different technologies for a prototype
which is part of my diploma thesis.
The problem is that I have to deal with real huge data amounts and one
machine is simply not enough to handle those am
> Does it make any sense ? Also would like to know if there are other ways
> to distribute lucene's indexing/searching ?
I'm interested in such a distributed architecture too.
What I have got in mind is some kind of lucene index cluster where you
have got several machines having subindexes in me
Hi!
> For the purpose of highlighting, you don't necessarily need to know in
> advance
> which word matched: you can just highlight any occurance of either Paris or
> London - wherever you find them - in the original text.
As I just discovered that Highlighter is not what I need in my
project. It
> Also heed the other recommendations in LIA and don't necessarily use
> Filters when BooleanQuery clauses will suffice. There is overhead
> involved in the Filter mechanism in terms of executing multiple
> queries to build all the filters you're proposing.
I'm aware of the fact that using multip
Hi again!
> 2) Use a QueryFilter with that same TermQuery, and apply that Filter
> to your search method.
Thanks for the hint - I just bought "Lucene in Action" and now I'm
more into it :-)
But at this point I'm facing some Filter problems again.
As proposed in LiA the easiest way would
Hi!
Is there a way to retrieve a List of the matching words for a Hit?
For example I create a query like this one:
"Paris London -Stockholm"
Now I get a Hit object with a couple of results back where I can iterate
over the documents:
for (int i = 0; i < hits.length(); i++) {
Do
Hi to all!
I added some documents to my index repository this way:
Document document = new Document();
document.add(Field.Keyword("id", id));
document.add(Field.Keyword("type", type));
document.add(Field.Text("content", content));
Is it possible to search only within a specific Field.Keyword? F
10 matches
Mail list logo