Hi.
I am trying to make a NGramPhrase query that could tolerate terms missing,
so even if one of the NGrams doesn't match it still gets picked up by
search.
I know I could use the combination of normal SpanNearQuery and a
BooleanQuery, but it requires me to consider every possible pair of terms
(
Another stumbling block...
I want to be able to return those lat,lng values within the current map
viewport/window. This relates to
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4#Sorting_and_Relevancy,
here it states "A common spatial requirement is to sort the search results
by distanc
Hi Dima,
On Dec 18, 2012, at 2:32 PM, dokondr wrote:
> Hi,
> Found some typos. In package description:
> http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/analysis/package-summary.html?is-external=true#package_description
Thanks for reporting these.
> OffsetAttribute offsetAtt = addAt
$ mount
?
-Ah
On 12/18/2012 05:00 PM, Bowden Wise wrote:
> How can one tell if they are using NFS or not?
>
>
>
> On Tue, Dec 18, 2012 at 3:26 PM, Ian Lea wrote:
>
>> Is the index on NFS? There are words in the javadocs warning against
>> using NativeFSLockFactory on NFS.
>>
>>
>> --
>> I
How can one tell if they are using NFS or not?
On Tue, Dec 18, 2012 at 3:26 PM, Ian Lea wrote:
> Is the index on NFS? There are words in the javadocs warning against
> using NativeFSLockFactory on NFS.
>
>
> --
> Ian.
>
>
> On Tue, Dec 18, 2012 at 8:02 PM, Bowden Wise wrote:
> > Hi Andrew:
>
Is the index on NFS? There are words in the javadocs warning against
using NativeFSLockFactory on NFS.
--
Ian.
On Tue, Dec 18, 2012 at 8:02 PM, Bowden Wise wrote:
> Hi Andrew:
>
> Thanks for the reply; I am glad to here our approach is also being used out
> there.
>
> In our case, there is al
Hi Andrew:
Thanks for the reply; I am glad to here our approach is also being used out
there.
In our case, there is always only 1 writer. I have added debug output to my
log and can see that the index writer is getting closed each time. And yet,
I am still seeing the error. I am doing another tes
Am 18.12.2012 12:36, schrieb Michael McCandless:
> On Thu, Dec 13, 2012 at 8:32 AM, Carsten Schnober
> wrote:
>> This is a relatively easy example, but how would deal with e.g.
>> annotations that include multiple tokens (as in spans), such as chunks,
>> or relations between tokens (and token sp
Hi,
Found some typos. In package description:
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/analysis/package-summary.html?is-external=true#package_description
In the example code bellow the following corrections are needed:
OffsetAttribute offsetAtt = addAttribute(OffsetAttribute.cla
On 12/18/2012 01:59 PM, Bowden Wise wrote:
Hello,
I have been getting the following lock error when attempting to open an
index writer to add new documents to an index.
org.apache.lucene.store.LockObtainFailedException
Lock obtain timed out:
NativeFSLock@/opt/shared/data/CTXTMNG/PAC_INDEX/lucen
Hello,
I have been getting the following lock error when attempting to open an
index writer to add new documents to an index.
org.apache.lucene.store.LockObtainFailedException
Lock obtain timed out:
NativeFSLock@/opt/shared/data/CTXTMNG/PAC_INDEX/lucene/aero/prod/index/write.lock
Our ingest/ind
> Hello,
> I am looking for an example of using Tokenizer + Analyzer (in particular
> org.apache.lucene.analysis.ru.RussianAnalyzer) for standalone stemming.
> Can't find such an example here:
>
> http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/analysis/package-summary.html?is-external=t
Hi all,
Is it possible to find offsets for phrase queries?
Thanks, Vitaly
I verified that the index was correct using the app Luke, tested some
queries using it then replicated the results via code. It seems I need
to refine the token parsing but at least I have something now.
Ramon Casha
On 18 December 2012 15:50, Ramon Casha wrote:
> Hmm ok I got something.
>
>
> R
Hmm ok I got something.
Ramon Casha
On 18 December 2012 15:44, Ramon Casha wrote:
> I converted them to TextField but the result is the same.
>
> doc.add(new TextField("text", text.toString(), Store.YES));
>
> The search always returns an empty array.
>
> Ramon Casha
>
>
> On 18 December 201
I converted them to TextField but the result is the same.
doc.add(new TextField("text", text.toString(), Store.YES));
The search always returns an empty array.
Ramon Casha
On 18 December 2012 15:35, Jack Krupansky wrote:
> Maybe you wanted "text" fields that are analyzed and tokenized, as o
Maybe you wanted "text" fields that are analyzed and tokenized, as opposed
to string fields which are not analyzed and stored and queried exactly
as-is.
See:
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/document/TextField.html
But, show us some of your indexed data and queries th
I think you need TextField rather than StringField. See also
http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F
--
Ian.
On Tue, Dec 18, 2012 at 2:14 PM, Ramon Casha wrote:
> I have just downloaded and set up Lucene 4.0.0 to implement a search
> faci
On Thu, Dec 13, 2012 at 10:09 AM, Glen Newton wrote:
>>Unfortunately, Lucene doesn't properly index
> spans (it records the start position but not the end position), so
> that limits what kind of matching you can do at search time.
>
> If this could be fixed (i.e. indexing the _end_ of a span) I t
On Thu, Dec 13, 2012 at 8:32 AM, Carsten Schnober
wrote:
> Am 13.12.2012 12:27, schrieb Michael McCandless:
>
>>> For example:
>>> - part of speech of a token.
>>> - syntactic parse subtree (over a span).
>>> - semantically normalized phrase (to canonical text or ontological code).
>>> - seman
Not possible. You have to replace the whole document.
--
Ian.
On Tue, Dec 18, 2012 at 9:14 AM, Bo Zhang wrote:
> Hi all,
> I don't know that how to update one field which is not stored of an
> document in lucene 4.0. Can anybody tell me?
>
> Thanks!
>
>
>
> Cheers,
> ---
> Bob
>
>
>
>
>
Hi all,
I don't know that how to update one field which is not stored of an
document in lucene 4.0. Can anybody tell me?
Thanks!
Cheers,
---
Bob
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For
22 matches
Mail list logo