You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by James liu <li...@gmail.com> on 2009/07/02 10:12:58 UTC

Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

I use solr to search and index is made by lucene. (not
EmbeddedSolrServer(wiki is old))

Is it problem when i use solr to search?

which the difference between Index(made by lucene and solr)?


thks

-- 
regards
j.L ( I live in Shanghai, China)

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

Posted by Norberto Meijome <nu...@gmail.com>.
On Thu, 2 Jul 2009 16:12:58 +0800
James liu <li...@gmail.com> wrote:

> I use solr to search and index is made by lucene. (not
> EmbeddedSolrServer(wiki is old))
> 
> Is it problem when i use solr to search?
> 
> which the difference between Index(made by lucene and solr)?

Hi James,
make sure the version of Lucene used to create your index is the same as the
libraries included in your version of SOLR. it should work.

it may be that an older lucene index works with a newer lucene-provided-in-solr
libs, but after using it you may not be able to go back , but i am not sure of
the details.

probably an FAQ by now - check the archives  :)

good luck,
B
_________________________
{Beto|Norberto|Numard} Meijome

"He has no enemies, but is intensely disliked by his friends."
  Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Yes, it could be a problem.  For some reason over the last few days several people mentioned trying to build indices with Lucene directly.  Not sure why that;s so attractive...

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: James liu <li...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Friday, July 3, 2009 2:07:33 AM
> Subject: Re: Is it problem? I use solr to search and index is made by lucene.  (not EmbeddedSolrServer(wiki is old))
> 
> solr have much fieldtype, like: integer,long, double, sint, sfloat,
> tint,tfloat,,and more.
> 
> but lucene not fieldtype,,just name and value, value only string.
> 
> so i not sure is it a problem when i use solr to search( index made by
> lucene).
> 
> 
> 
> -- 
> regards
> j.L ( I live in Shanghai, China)


Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

Posted by James liu <li...@gmail.com>.
solr have much fieldtype, like: integer,long, double, sint, sfloat,
tint,tfloat,,and more.

but lucene not fieldtype,,just name and value, value only string.

so i not sure is it a problem when i use solr to search( index made by
lucene).



-- 
regards
j.L ( I live in Shanghai, China)

Re: Is it problem? I use solr to search and index is made by lucene. (not EmbeddedSolrServer(wiki is old))

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi,

You need to ensure that the index format is compatible (that the same Lucene jars are used in both cases) and that the analysis performed on fields is the same.

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: James liu <li...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, July 2, 2009 4:12:58 AM
> Subject: Is it problem? I use solr to search and index is made by lucene. (not  EmbeddedSolrServer(wiki is old))
> 
> I use solr to search and index is made by lucene. (not
> EmbeddedSolrServer(wiki is old))
> 
> Is it problem when i use solr to search?
> 
> which the difference between Index(made by lucene and solr)?
> 
> 
> thks
> 
> -- 
> regards
> j.L ( I live in Shanghai, China)