another problem just occurred. These are the results from explain() :
0.27576536 = (MATCH) product of:
0.827296 = (MATCH) sum of:
0.827296 = (MATCH) sum of:
0.24544832 = (MATCH) weight(ti:genetik in 1849319), product of:
0.015469407 = queryWeight(ti:genetik), product of:
Hi everybody,
I was searching for informations about the hitcollector. I was wondering if
the value of the fields have to be stored or not. i tested it and it worked
both but i'm still not really sure about it.
Second question is, can i work with tokenized fields?
Best regards
Jens
--
View th
Hello everybody,
I have s slight problem using lucenes highlighter. If i have the highlighter
enabled, a query creates 0 hits, if i disable the highlighter i get the
hits.
It seems like, when i call searcher.search() and pass my Hits hits to the
highlighter function, the program quits. All prints
("field1") and get an array of Fields
> back,
> one
> for each call to add above. You can also set the PositionIncrementGap
> while
> indexing to separate the termposition of the first term of successive
> add()
> calls
> by, say, 100 (or whatever) if you need to worry
to worry about SpanNear or some
> such.
>
> This may be wy off base. If so, could you give a concrete example of
> what
> your inputs are and how you want to search them?
>
> Best
> Erick
>
> On Thu, Mar 6, 2008 at 7:28 AM, JensBurkhardt <[EMAIL PROTECTED]>
> wro
n i search for such a number i want the search hit every
single field and not all fields together.
Right now i separate the string using an unique separator (in this case just
$$$) so i can split the string into the numbers but i think this is kinda
the worst form doing it.
JensBurkhardt wrote
hey everybody,
I'm wondering if it's possible to combine wildcards and phrase query.
For example "term1 term*"
I know that the documentation says "Lucene supports single and multiple
character wildcard searches within single terms (not within phrase queries)"
but maybe someone has had the same
Okay, thanks a lot. Maybe I should change my indexing behavior ;-) .
Greetings
Jens
hossman wrote:
>
> : As my subject is telling, i have a little problem with analyzing the
> : explain() output.
> : I know, that the fieldnorm value consists out of "documentboost,
> fieldboost
> : and lengthNo
ery.add(firstQuery, BooleanClause.Occur.MUST); //must is
>> > like an AND
>> > overallquery.add(secondQuery, BooleanClause.Occur.MUST):
>>
>> There is no need for a QueryParser in this case when using a
>> TermQuery instead of a Query for q1, q2, q3 and q4:
>&
Hey everybody,
I read that it's possible to generate a query like:
(title:term1 OR author:term1) AND (title:term2 OR author:term2)
and so on. I also read that BooleanClause.Occur should help me handle this
problem.
But i have to admit that i totally don't understand how to use it.
If someone ca
Hey everybody,
As my subject is telling, i have a little problem with analyzing the
explain() output.
I know, that the fieldnorm value consists out of "documentboost, fieldboost
and lengthNorm".
Is is possible to recieve the single values? I know that they are multiplied
while indexing but
can t
Okay, Thanks a lot for answering my questions. I'll give the split string
thing a try :-) .
Best Regards
Jens Burkhardt
Grant Ingersoll-6 wrote:
>
>
> On Feb 21, 2008, at 6:53 AM, JensBurkhardt wrote:
>>
>> Hello again,
>>
>> Thanks for your immedia
t; -Grant
>
> On Feb 20, 2008, at 11:30 AM, JensBurkhardt wrote:
>
>>
>> Hey,
>>
>> I'm wondering if you can boost single values and not the whole field.
>> For example:
>> i'm having a field called test with "value1 value2 value3"
Hey,
I'm wondering if you can boost single values and not the whole field.
For example:
i'm having a field called test with "value1 value2 value3" - all packed in a
String - and
i want to boost specific values e.g value1^0.5 value2^1.5 etc.
The problem is that i can't seperate this field. I don't
14 matches
Mail list logo