Hello,
I am using lucene to search plain text, but the order of the search
results is not satisfying to my needs. First, I want to know how the
similarity works. Then, I need to extend it.
First, does the similarity class work on analyzed text or original
search text? To be precise, does it cou
results already sorted.
On 7/22/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
>
> On Jul 22, 2005, at 9:59 AM, Ahmed El-dawy wrote:
>
> > Hello,
> > I am using lucene to search plain text, but the order of the search
> > results is not satisfying to my needs. Fir
y removing its prefix and suffix and changing
some letters. Can I do this thing by extending some classes or I will
have to make it (outside) lucene after search results are returned?
On 7/23/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
>
> On Jul 23, 2005, at 4:45 AM, Ahmed El-dawy wrote:
&g
Hello,
I have made a new Analyzer that does the following:
1- Remove common prefixes and suffixes. For example, uncommon will be
converted to common.
2- Change some letters in the words with common spelling mistakes. For
example, wellcome will be changed to welcome.
3- Stop words are removed.
I
Thanks for your help.
I used PhraseQuery to boost close terms. I think of an idea for sop
words but I don't know, if it has any drawbacks. I can index any dummy
Token in place of all stop words. This token will never be searched
but it will be counted as a Token and will make a space between words.
Hello,
I am indexing many txt files using lucene. First, I used an index
for each txt file. This allowed me to select some indexes for search
to limit search range. I used MultiSearcher to search all of them. The
problem is that it took a long time to retrieve documents because they
are scattered
Hello,
I have built a better query parser. This one takes care of
positionIncrement returned by the analyzer. I needed to build this
because the old one does not run when multiple terms are at the same
location.
--
regards,
Ahmed Saad
package search;
import java.io.IOException;
import java.io.St
Hello,
When I use QueryParser with phrase queries it makes some errors. It
assumes that positionIncrement must be 0 or 1. In my case it can be
greater than one (in case of stop words). It handles all non ONE
positionIcrement as zero.
The error is at lines 384, 385
if (t.getPositionIncrement
Hello,
I needed in my application to override the classes Document and Hits
to make JDBCDocument and JDBCHits. I was surprised that Document and
Hits are final classes and all methods in them are final. Why this? I
couldn't make my program well because of this problem. Is there a way
to overcome i
Hello,
I needed in my application to override the classes Document and Hits
to make JDBCDocument and JDBCHits. I was surprised that Document and
Hits are final classes and all methods in them are final. Why this? I
couldn't make my program well because of this problem. Is there a way
to overcome i
l and why you think
> your design demands extensions of these classes?
>
> Erik
>
>
> On Feb 18, 2006, at 3:41 PM, Ahmed El-dawy wrote:
>
> > Hello,
> > I needed in my application to override the classes Document and Hits
> > to make JDBCDocument
11 matches
Mail list logo