I went through the Solr documentation, and it seemed pretty good. However, I
have a different requirement. I have this scenario - I will provides list of
words, each corresponds to a particular position. Say this array of tuples,
where each tuple consists of the word and its position (the position may not
be contiguous, that is obtained by simply obtained by adding the number of
characters in each word) - [{Hello,0}, {I, 12}, {am, 21}, {Cupidvogel,
25}...]. This is what I can input to Solr (of course I can modify the data
format to suit Solr). While searching, 
1. I may search for a whole word from one of the tuples, say 'Hello', in
which case I want Solr to return the corresponding numbers in the tuples
where the word is present. - [0].

2. I search for a substring of one of the words, say 'e'. In which case I
want Solr to return all instances of tuples and the positions where 'e' is a
substring of the word. - [0,25...].

3 I want o search a string consisting of multiple words that are present in
the array of tuples contiguously, and if there, I want Solr to return the
number corresponding to the first word in each such string. So if search 'I
am', I must get [12...].

4. The same as above, but the first word can be a suffix, and the last word
can be a prefix like ' ello I am Cupidvo', in which case I want [0...] (
'ello' belongs to 'Hello' and 'Cupidvo' belongs to 'Cupidvogel': ''Hello',
'I', 'am' and 'Cupidvogel' are contiguous entries in the array )

Can Solr provide such capability?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-Solr-meet-my-requirements-tp4187211.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to