is there any way i can find example of a program using NGramSpeller.java
--
View this message in context:
http://www.nabble.com/Example-using-NGramSpeller.java-tp18034945p18034945.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
HI,
i need to download this file which is NGramSpeller.java
more information about this file is here
http://www.marine-geo.org/services/oai/docs/javadoc/org/apache/lucene/spell/NGramSpeller.html
but from where can i get its src code file
any ideas..plzz
--
View this message in context:
Hi, I am maintaing a website's search engine, and using lucene.
my job is to give boost to a particular set of pages, like pages about the
Products of the company, Pages giving description of the company, about
technology used etc etc.
How can i start that, I mean i just joined this job and
. Query time
boosts are a way to express I care about matches on this clause of my
query
twice as much as I do about matches to other clauses of my query.'
So, I think you want to think about index time boosts.
Best
Erick
On Thu, Jun 12, 2008 at 2:38 PM, sumittyagi [EMAIL PROTECTED
hi,
i need a dataset having html pages to test my lucene programs...
from where can i download it..
--
View this message in context:
http://www.nabble.com/Dataset-to-test-lucene-tp16538139p16538139.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
is there any way to change the score of the documents.
Actually i want to modify the scores of the documents dynamically, everytime
for a given query the results will be sorted according to lucene scoring
formula + an equation.
how can i do that...i saw that lucene scoring page but i am not
to 2.3
Just create your Fields wiht the constructor: new Field()
See the Javadoc for details.
HTH,
Stéphane
On Sun, Feb 24, 2008 at 6:41 AM, sumittyagi [EMAIL PROTECTED] wrote:
I am new to lucene, and have problem in executing it's first program
which is
Indexer.java
here
I am new to lucene, and have problem in executing it's first program which is
Indexer.java
here is the source code..
*
import java.io.*;
import org.apache.lucene.document.*;
import org.apache.lucene.index.*;
import
import java.io.*;
import org.apache.lucene.document.*;
import org.apache.lucene.document.Field.*;
import org.apache.lucene.index.*;
import org.apache.lucene.analysis.*;
import org.apache.lucene.analysis.standard.*;
import java.util.*;
import java.io.IOException;
import org.apache.lucene.store.*;
getting are
C:\Documents and Settings\Sumit\Desktopjavac db/comm.java
db/comm.java:20: cannot find symbol
symbol : variable id
location: class org.apache.lucene.search.Hits
int docId = hits.id[i] ;
^
1 error
any advice please
sumittyagi wrote:
thanks for replying
() ;
int docId = hit.getId() ;
}
but check out
http://lucene.apache.org/java/2_3_0/api/org/apache/lucene/search/Hits.html
as this is just code typed into a mail program!
Regards,
Kent
On Fri, Feb 22, 2008 at 4:17 PM, sumittyagi [EMAIL PROTECTED] wrote:
hi, is there any way to retrieve
here is my code
package db;
import java.io.*;
import java.util.*;
import java.lang.*;
import org.apache.lucene.search.Hits;
import org.apache.lucene.search.Hit;
public class comm{
public static void main(String[] args)
{
System.out.println(hi);
hi, is there any way to retrieve the doc ids from HITS, Please advise me
regarding this , i am new to lucene and programming.
--
View this message in context:
http://www.nabble.com/How-to-get-the-doc-ID-from-HITS-tp15627959p15627959.html
Sent from the Lucene - Java Users mailing list archive at
Message
From: sumittyagi [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Sunday, 23 December, 2007 5:30:55 AM
Subject: Re: Which file in the lucene package is used to manipulate
results..
Actually what i have to do is...
1.) for every query(keyword), among the results obtained
hi
i want to rerank the documents obatined from the HITS, how can i edit the
scoring formula.
--
View this message in context:
http://www.nabble.com/How-to-change-the-scores-of-the-documents-tp15594115p15594115.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
solution here that I can post in a few lines
of code - you'll need to familiarise yourself with these low-level APIs
that underpin Lucene searches (they are all documented).
Cheers
Mark
- Original Message
From: sumittyagi [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent
: sumittyagi [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Sunday, 23 December, 2007 5:30:55 AM
Subject: Re: Which file in the lucene package is used to manipulate
results..
Actually what i have to do is...
1.) for every query(keyword), among the results obtained, the keyword
also
what is the lucene ranking (scoring documents) formula
sumittyagi wrote:
hi
which file can i edit to change the scoring factors in lucene results
markharw00d wrote:
Thanks for the context - much more useful.
The challenge here is similar to that posed by offering end-user
to the document content.
Cheers
Mark
- Original Message
From: sumittyagi [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Sunday, 23 December, 2007 5:30:55 AM
Subject: Re: Which file in the lucene package is used to manipulate
results..
Actually what i have to do
ignore my previous msg... i got that package
sumittyagi wrote:
hi..
thanks for the help
following your suggestions ..
i do not have the package org.apache.lucene.index , from where can i
download it to start this project
markharw00d wrote:
Thanks for the context - much more
you want to achieve for your users?
We could be talking about any number of Lucene functions here.
- Original Message
From: sumittyagi [EMAIL PROTECTED]
To: java-user@lucene.apache.org
Sent: Friday, 21 December, 2007 4:51:09 AM
Subject: Which file in the lucene package is used
hi, i am using lucene for the very first time and want to manipulate the
results, by adding some more factors to it, which file should i edit to
manipulate the search results
Thanks
Sumit Tyagi
--
View this message in context:
-
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
On Nov 7, 2007 4:46 PM, sumittyagi [EMAIL
i want to retrieve lucene search results from the web page and want to put
them into oracle database through JDBC, and after some manipulation want to
display results again after fetching it from database. please help me
regarding this...like from where i have to start with... and what exactly i
hi,
ihave just downloaded lucene 2.2.0 and tomcat, and have set my classpaths ,
now i am got stuck at the very first stage of indexing files, which ask me
to do like this
java org.apache.lucene.demo.IndexFiles {full-path-to-lucene}/src
i dont know from which directory i have to execute this
25 matches
Mail list logo