filepath. So is there any
alternative to solve this problem without replacing the file path.
TIA,
Nischal Y
On Mon, Oct 14, 2013 at 10:31 PM, Ian Lea wrote:
> Seems to me that it should work. I suggest you show us a complete
> self-contained example program that demonstrates the problem
ser/175732 and pick
> an option you like.
>
>
> --
> Ian.
>
>
> On Mon, Oct 14, 2013 at 9:12 AM, nischal reddy
> wrote:
> > Hi,
> >
> > I have problem with doing wild card search on file path fields.
> >
> > i have a field "filePath" whe
Hi,
I have problem with doing wild card search on file path fields.
i have a field "filePath" where i store complete path of files.
i have used StringField to store the field ("i assume by default
StringField will not be tokenized") .
doc.add(new StringField(FIELD_FILE_PATH,resourcePath, Store.
Hi,
I am getting an exception while indexing files, i tried debugging but
couldnt figure out the problem.
I have a custom analyzer which creates the token stream , i am indexing
around 15k files, when i start the indexing after some time i get this
exception:
java.lang.IllegalArgumentException:
Hi,
I am confused a bit about the lucene attributes, can someone please help me
out with this,
can we store all the attributes of a term in the index?
i have set following attributes for a term, CharacterTermAttribute,
TypeAttribute, PayloadAttribute and OffsetsAttribute, but when i examine my
i
Hi,
I have written a custom Tokenizer which will split my input text into
tokens, i have overridden the incrementToken method and setting
chartermAttribute, offsetAttribute, typeAttribute (Please find the method
below..)
@Override
final public boolean incrementToken() throws IOException {
e data and feed that
> through a separate thread that actually does the indexing,
> you don't want multiple IndexWriters active at once.
>
> FWIW,
> Erick
>
>
>
> On Mon, Sep 2, 2013 at 10:13 AM, nischal reddy
> wrote:
>
> > Hi,
> >
> > I am thi
l K each.
>
> So, if you're going to multi-thread, you'll probably want to
> multi-thread the acquisition of the data and feed that
> through a separate thread that actually does the indexing,
> you don't want multiple IndexWriters active at once.
>
> FWIW,
>
Hi,
I am thinking to make my lucene indexing multi threaded, can someone throw
some light on the best approach to be followed for achieving this.
I will give short gist about what i am trying to do, please suggest me the
best way to tackle this.
What am i trying to do?
I am building an index fo
instance) from the super
class.
Thanks for people who went through my query.
Nischal Y
On Mon, Sep 2, 2013 at 1:22 PM, nischal reddy wrote:
> Hi,
>
> I have created a custom analyzer, with a custom tokenizer which takes
> Antlr tokens from a file and will convert it into luce
Hi,
I have created a custom analyzer, with a custom tokenizer which takes Antlr
tokens from a file and will convert it into lucene tokens by setting them
to attribute source.
It works fine if i add one document to index, i am able to search through a
query and getting the hits.
Problem comes whe
Hi,
I am using lucene in my eclipse plugin, while initializing the
IndexConfigWriter i am getting an exception (see below). Interesting part
is when i am running a test.java class in the same plugin (with a main
method with call to the same method) everything is working fine.
But when i run the pl
Hi,
I am using lucene in my eclipse plugin, while initializing the
IndexConfigWriter i am getting an exception (see below). Interesting part
is when i am running a test.java class in the same plugin (with a main
method with call to the same method) everything is working fine.
But when i run the pl
13 matches
Mail list logo