fnp
/
pylucene.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d6fa789
)
Configured build for Ubuntu and added Stempel polish analyzer
author
Marcin Koziej
<marcin.koziej@nowoczesnapolska.org.pl>
Tue, 11 Oct 2011 11:50:06 +0000
(13:50 +0200)
committer
Marcin Koziej
<marcin.koziej@nowoczesnapolska.org.pl>
Tue, 11 Oct 2011 11:50:06 +0000
(13:50 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
7502d17
..
06179e7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-108,6
+108,12
@@
LUCENE=$(LUCENE_SRC)/lucene
#JCC=$(PYTHON) -m jcc --shared
#NUM_FILES=3
#JCC=$(PYTHON) -m jcc --shared
#NUM_FILES=3
+PREFIX_PYTHON=$(VIRTUAL_ENV)
+ANT=ant
+PYTHON=$(PREFIX_PYTHON)/bin/python
+JCC=$(PYTHON) -m jcc #--shared
+NUM_FILES=3
+
# FreeBSD
#PREFIX_PYTHON=/usr
#ANT=ant
# FreeBSD
#PREFIX_PYTHON=/usr
#ANT=ant
@@
-151,6
+157,7
@@
JARS+=$(MEMORY_JAR) # single-document memory index
JARS+=$(HIGHLIGHTER_JAR) # needs memory contrib
JARS+=$(EXTENSIONS_JAR) # needs highlighter contrib
JARS+=$(QUERIES_JAR) # regex and other contrib queries
JARS+=$(HIGHLIGHTER_JAR) # needs memory contrib
JARS+=$(EXTENSIONS_JAR) # needs highlighter contrib
JARS+=$(QUERIES_JAR) # regex and other contrib queries
+JARS+=$(STEMPEL_JAR)
#JARS+=$(SMARTCN_JAR) # smart chinese analyzer
#JARS+=$(SPATIAL_JAR) # spatial lucene
JARS+=$(GROUPING_JAR) # grouping module
#JARS+=$(SMARTCN_JAR) # smart chinese analyzer
#JARS+=$(SPATIAL_JAR) # spatial lucene
JARS+=$(GROUPING_JAR) # grouping module
@@
-176,6
+183,7
@@
MEMORY_JAR=$(LUCENE)/build/contrib/memory/lucene-memory-$(LUCENE_VER).jar
QUERIES_JAR=$(LUCENE)/build/contrib/queries/lucene-queries-$(LUCENE_VER).jar
EXTENSIONS_JAR=build/jar/extensions.jar
SMARTCN_JAR=$(LUCENE)/build/contrib/analyzers/smartcn/lucene-smartcn-$(LUCENE_VER).jar
QUERIES_JAR=$(LUCENE)/build/contrib/queries/lucene-queries-$(LUCENE_VER).jar
EXTENSIONS_JAR=build/jar/extensions.jar
SMARTCN_JAR=$(LUCENE)/build/contrib/analyzers/smartcn/lucene-smartcn-$(LUCENE_VER).jar
+STEMPEL_JAR=$(LUCENE)/build/contrib/analyzers/stempel/lucene-stempel-$(LUCENE_VER).jar
SPATIAL_JAR=$(LUCENE)/build/contrib/spatial/lucene-spatial-$(LUCENE_VER).jar
GROUPING_JAR=$(LUCENE)/build/contrib/grouping/lucene-grouping-$(LUCENE_VER).jar
JOIN_JAR=$(LUCENE)/build/contrib/join/lucene-join-$(LUCENE_VER).jar
SPATIAL_JAR=$(LUCENE)/build/contrib/spatial/lucene-spatial-$(LUCENE_VER).jar
GROUPING_JAR=$(LUCENE)/build/contrib/grouping/lucene-grouping-$(LUCENE_VER).jar
JOIN_JAR=$(LUCENE)/build/contrib/join/lucene-join-$(LUCENE_VER).jar
@@
-226,6
+234,9
@@
$(EXTENSIONS_JAR): $(LUCENE_JAR)
$(SMARTCN_JAR): $(LUCENE_JAR)
cd $(LUCENE)/contrib/analyzers/smartcn; $(ANT) -Dversion=$(LUCENE_VER)
$(SMARTCN_JAR): $(LUCENE_JAR)
cd $(LUCENE)/contrib/analyzers/smartcn; $(ANT) -Dversion=$(LUCENE_VER)
+$(STEMPEL_JAR): $(LUCENE_JAR)
+ cd $(LUCENE)/contrib/analyzers/stempel; $(ANT) -Dversion=$(LUCENE_VER)
+
$(SPATIAL_JAR): $(LUCENE_JAR)
cd $(LUCENE)/contrib/spatial; $(ANT) -Dversion=$(LUCENE_VER)
$(SPATIAL_JAR): $(LUCENE_JAR)
cd $(LUCENE)/contrib/spatial; $(ANT) -Dversion=$(LUCENE_VER)