How to index both Number and Text

Aslam Bari <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Dear All,
I m using lucene content indexing. I have many xml files, which i want to
index both "text values" as well as  "numeric values". so that i can search
on both values.

Here a special case also. I need to index the only both numbers which are
from some special nodes , all other nodes should go for default indexing.

<City>
    <Garden>
        <Plot name="Rjmahal 765 Nodia" place="raghu 8988 ami">
        <Joy name="Hum 700 fdfd">
    </Garden>
</City>

In this Example , i need to index only Plot\name value "Rjmahal 765 Nodia"
with text indexing as well as number indexing. All other values should go
text indexing. Because i need to search only on Plot\names number like 765.
I don't need to search on 8988 and 700 etc.

Any help will be appreciatable.

Thanks...

-- 
View this message in context: http://www.nabble.com/How-to-index-both-Number-and-Text-tf2894299.html#a8086411
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.