Hi,
I am quite new to Lucene. I am trying to use it to index listings of local
businesses. The index has only one field, that stores the attributes of a
listing as well as email addresses of users who have rated that business.
For example,
Listing 1: "XYZ Takeaway London f...@company.com bar...@
gination.com/content/scaling-lucene-and-solr#d0e63
>
> Cheers,
>
> Ivan
>
> On Wed, May 16, 2012 at 12:41 PM, Meeraj Kunnumpurath
> wrote:
> > Hi,
> >
> > I am quite new to Lucene. I am trying to use it to index listings of
> local
> > businesses. The
ecause
>> of term frequencies. Which analyzers are you using?
>>
>> http://www.lucidimagination.com/content/scaling-lucene-and-solr#d0e63
>>
>> Cheers,
>>
>> Ivan
>>
>> On Wed, May 16, 2012 at 12:41 PM, Meeraj Kunnumpurath
>> wrote
erse order.
Regards
Meeraj
On Wed, May 16, 2012 at 9:48 PM, Meeraj Kunnumpurath <
meeraj.kunnumpur...@asyska.com> wrote:
> I have tried the same using Lucene directly with the following code,
>
> import org.apache.lucene.store.RAMDirectory;
> import org.apache.lucene.document.Doc
),
product of:
1.4142135 = tf(termFreq(searchText:company.com)=2)
0.5945349 = idf(docFreq=2, maxDocs=2)
0.375 = fieldNorm(field=searchText, doc=0)
On Wed, May 16, 2012 at 9:50 PM, Meeraj Kunnumpurath <
meeraj.kunnumpur...@asyska.com> wrote:
> The actual query is
&g
16, 2012 at 9:52 PM, Meeraj Kunnumpurath <
meeraj.kunnumpur...@asyska.com> wrote:
> This is the output I get from explaining the plan ..
>
>
> Found 2 hits.
> 1. XYZ Takeaway f...@company.com
> 0.5148823 = (MATCH) sum of:
> 0.17162743 = (MATCH) weight(searchText:takeaway in
Hi,
I have the following documents
Document doc1 = new Document();
doc1.add(new Field("searchText", "ABC Takeaway f...@company.com
f...@company.com", Field.Store.YES, Field.Index.ANALYZED));
Document doc2 = new Document();
doc2.add(new Field("searchText", "XYZ Takeaway f...@company.com",
Field.St
automatically. See
> IndexSearcher.explain() as I think someone already suggested. See
> also javadocs for org.apache.lucene.search.Similarity. You can plug
> in your own implementation if you want to tweak the scoring.
>
>
> --
> Ian.
>
>
> On Wed, May 16
Hi,
Is there anyway in a query, I can boost the relevance of a hit based on the
value of a numerical field in the index. i.e higher the value of the field,
more relevant the hit is.
Kind regards
Meeraj
-
To unsubscribe, e-mail
Thank you
Sent from my iPad
On 19 May 2012, at 09:07, Ahmet Arslan wrote:
>
>> Is there anyway in a query, I can boost the relevance of a
>> hit based on the value of a numerical field in the index.
>> i.e higher the value of the field, more relevant the hit
>> is.
>
> Yes it is possible. Lik
Hi,
Is this available only with Solr or would it work if I am using plain
Lucene?
Regards
Meeraj
On Sat, May 19, 2012 at 9:07 AM, Ahmet Arslan wrote:
>
> > Is there anyway in a query, I can boost the relevance of a
> > hit based on the value of a numerical field in the index.
> > i.e higher th
11 matches
Mail list logo