LinkedInAttic / indextank-engine

Indexing engine for IndexTank
http://indextank.com/
Apache License 2.0
844 stars 109 forks source link

index bug? #15

Closed nghianja closed 12 years ago

nghianja commented 12 years ago

Hi all,

I don't know whether you are aware of this but when after I inserted documents into the index 'idx', I can query the same result even if I specify a different index.

e.g.

$ curl http://localhost:20220/v1/indexes/nonidx/search?q=love

will give the same result as in

$ curl http://localhost:20220/v1/indexes/idx/search?q=love

Is this intended?

Thank you.

iladriano commented 12 years ago

Yes. The embedded api instantiates a single index always.

nghianja commented 12 years ago

I see. Then sorry for asking a stupid question but how do I start the indextank engine such that I can use multiple separate indexes?

iladriano commented 12 years ago

Don't worry. Right now, you need to start another process using a different port.

nghianja commented 12 years ago

Okay, I understand. Thank you very much once again.