Re: Spellchecker with synonyms

2011-04-11 Thread royr
Yes, it looks like this:


  
   
   
   
   
   
  


 will work on query and index time i think.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806157.html
Sent from the Solr - User mailing list archive at Nabble.com.


Spellchecker with synonyms

2011-04-11 Thread royr
Hello,

I have some synonyms for city names. Sometimes there are multiple names for
one city, example:.

newyork, newyork city, big apple

I search for "big apple" and get results with new york(synonym)
If somebody search for "big aple" i want a spelling suggestion like: big
apple. How can i fix that synonyms
are available for the spellchecker?









--
View this message in context: 
http://lucene.472066.n3.nabble.com/Spellchecker-with-synonyms-tp2806028p2806028.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Special characters index

2011-03-30 Thread royr
you're right! it works, Thank you very much

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753939.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Special characters index

2011-03-30 Thread royr
Thanks for your quick answer.

I'm not sure if the ASCIIFoldingFilterFactory is what I needed. In my
results I just want to see the special characters. If I search for Cafe I
want café in my results and if i search for café i want café also in my
results. The filter you send me will change the value in the index to cafe
and also on my result page. 


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753800.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Synonyms: whitespace problem

2011-03-30 Thread royr
Thanks, it works!

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Synonyms-whitespace-problem-tp2730953p2753720.html
Sent from the Solr - User mailing list archive at Nabble.com.


Special characters index

2011-03-30 Thread royr
Hello,

i have a question about SOLR and special characters. How can i search for
cafe or café and get in both situations the following results:

cafe pub humphreys
café brokecity
café fillham
cafe langer

The same for characters like -,^,ë



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753707.html
Sent from the Solr - User mailing list archive at Nabble.com.


Synonyms: whitespace problem

2011-03-25 Thread royr
Hello,

I have a problem with the synonyms. SOLR strips the synonyms on white space.
An example:

manchester united, reds, manunited

My index looks like this:

manchester
united
red
manunited

i want this:
manchester united
red
manunited

my configuration:



 
 
 
  
   


How can i fix this problem??

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Synonyms-whitespace-problem-tp2730953p2730953.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: SOLR building problems

2011-03-18 Thread royr
It works!! 

Ant was using an old java version from another directory. THANK you:)

--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2697973.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: SOLR building problems

2011-03-17 Thread royr
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode)


--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2693574.html
Sent from the Solr - User mailing list archive at Nabble.com.


SOLR building problems

2011-03-17 Thread royr
Hello,

The apache wiki gives me this information:

Skip this section if you have a binary distribution of Solr. These
instructions will building Solr from source, if you have a nightly tarball
or have checked out the trunk from subversion at
http://svn.apache.org/repos/asf/lucene/dev/trunk. Assumes that you have JDK
1.6 already installed.

In the source directory, run ant dist to build the .war file under dist.
Build the example for the Solr tutorial by running ant example. Change to
the 'example' directory, run java -jar start.jar and visit
localhost:8983/solr/admin to test that the example works with the Jetty
container. 

I have run this code: svn checkout
http://svn.apache.org/repos/asf/lucene/dev/trunk
After that i try the ant example commando. This doesn't work, i got the
following error message:

common.compile-core:
[javac] Compiling 508 source files to
somedir/trunk/lucene/build/classes/java
[javac] --
[javac] 1. ERROR in
dir/trunk/lucene/src/java/org/apache/lucene/document/DateTools.java (at line
1)
[javac] package org.apache.lucene.document;
[javac] ^^
[javac] The type Enum is not generic; it cannot be parameterized with
arguments 
[javac] --
[javac] 1 problem (1 error)

BUILD FAILED
somedir/trunk/solr/common-build.xml:249: The following error occurred while
executing this line:
somedir/trunk/lucene/contrib/contrib-build.xml:58: The following error
occurred while executing this line:
somedir/trunk/lucene/common-build.xml:296: The following error occurred
while executing this line:
somedir/trunk/lucene/common-build.xml:717: Compile failed; see the compiler
error output for details.

Ant is installed correctly i think: 
ant -version = Apache Ant(TM) version 1.8.2 compiled on December 20 2010

What goes wrong?




--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2692916.html
Sent from the Solr - User mailing list archive at Nabble.com.


Multiple spellchecker

2011-03-16 Thread royr
Hello,

I have a problem with the SOLR spellchecker component. This is the problem:

Searching term = Company: American today, City: London (two fields:
copyfield to one: Spell )

User search = American tuday, Londen

What i want is a collation of: American today london. SOLR returns with the
q parameter:

American
Correction: American today

tuday
Correction: American today

londen
Correction: London

Collaction:  American today American today London

SOLR returns with the spellcheck.q parameter:

American tuday londen
Correction: American today

The index of Spell looks like this:
American today
London
google
France
etc.

I want that SOLR makes two parts of terms: ("American today") and
("London"). Both terms have to be checked for spelling, not as one term and
not as three terms.

Can somebody helps me?


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multiple-spellchecker-tp2687320p2687320.html
Sent from the Solr - User mailing list archive at Nabble.com.